[SOLVED] systemd+wpa_supplicant, but the name of interfaces changes
Hello,
I'm following instructions here for having the wireless connection ready at boot on my machine.
I needed to setup two different daemons since sometimes my wireless interfaces is wlp3s0 and sometimes is wlan0.
When the name of the interface is wlp3s0 everything works fine and I'm correctly given an IP address.
It doesn't happen the same when the name is wlan0.
Here's some output
$ systemctl status [email protected] -l
● [email protected] - Wireless network connectivity (wlan0)
Loaded: loaded (/etc/systemd/system/[email protected]; enabled)
Active: inactive (dead)
Jun 22 16:10:19 banzi systemd[1]: Dependency failed for Wireless network connectivity (wlan0).
$ cat /etc/conf.d/network-wireless@wlan0
address=192.168.1.10
netmask=24
broadcast=192.168.1.255
gateway=192.168.1.1
$ cat /etc/conf.d/network-wireless@wlp3s0
address=192.168.1.8
netmask=24
broadcast=192.168.1.255
gateway=192.168.1.1
$ cat /etc/systemd/system/[email protected]
[Unit]
Description=Wireless network connectivity (%i)
Wants=network.target
Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/etc/conf.d/network-wireless@%i
ExecStart=/usr/bin/ip link set dev %i up
ExecStart=/usr/bin/wpa_supplicant -B -i %i -c /etc/wpa_supplicant/wpa_supplicant.conf
ExecStart=/usr/bin/ip addr add ${address}/${netmask} broadcast ${broadcast} dev %i
ExecStart=/usr/bin/ip route add default via ${gateway}
ExecStop=/usr/bin/ip addr flush dev %i
ExecStop=/usr/bin/ip link set dev %i down
[Install]
WantedBy=multi-user.target
What more info do you need?, what's wrong?
Thanks,
Giuseppe
Last edited by giuscri (2014-06-28 19:53:35)
Check your journal for messages relating to wlan0 and wlp3s0. I think you may find some kind of error message -- maybe having to do with firmware. I've seen thing like that break predicatible device names
If you've just one wlan interface, you could turn off predicable device names and just go with wlan0
Similar Messages
-
I changed my name on MacBook pro, I could not log in after that though the password is unchanged but tHe name appeared on the login window is the original name?..how I can log in?
Hmmm. Maybe try this?
OS X: Changing or resetting an account password -
I have an iBook on itunes and I am trying to upload a new version of the book. I am following the workflow through iBooks Author and when I fell out all of the infromation for the package on iTunes producer i then hit the deliver button and I get the following error message:
The package name The Gallbladder-4.itmsp contains an invalid character(s). The valid characters are: A-Z, a-z, 0-9, dash, period, underscore, but the name cannot start with a dash, period, or underscore.
As far as I can tell the file that is being referenced does not meet the criteria axpressed in the erro message and in fact that file has been created by iBooks Author so one would think there shouldnt be an error.
I also get the following to error messages:
Apple's web service operation was not successful
Unable to authenticate the package: The Gallbladder-4.itmsp
Would ove any help.
Thanks,
JeffThank you so much for your help.
For anyone that would like to check out this book it can be downloaded at:
https://itunes.apple.com/us/book/the-gallbladder/id598317335?ls=1
Please check out our free medical education blog by Jeffrey Eakin using iBooks Author at:
http://free-medical-education-ibooks-author.blogspot.com -
A while ago i went to sync music onto my Ipod Touch. Not only did the computer erase my music i had no idea how to get it back I contacted Apple on the phone but the name was american and i found it really hard to understand him. How do i get it back! i bought most of my music on itunes but i just dont have any idea where to go and whjat to do can any help me??
Respond please!Depending upon what country that you are in (music can't be re-downloaded in all countries) then see if you can redownload your past music purchases (those that are still in the store) via the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes : re-downloading.
If you are not in a country where music can currently be re-downloaded, then have you not got it on your computer and/or on a backup ? If not then you can try contacting iTunes support and see if they will grant you a re-download : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page -
My laptop is stolen and hasn't showed up in my cloud for the past week but the name of it is changed. How do I get it's last known location?
That"s part of my problem, I dont get that option.
I get iTunes store and that's about it.
I've thought about "erasing/resetting" all settings but I'm afraid to do it. Or am I
missing something in iTunes?
Help please!
Joanne -
when i add a new contact to my phone, their details are saved in my contact list, but the name doesn't show up when they ring or txt me, how can i change that?
First, try a system reset. It cures many ills and it's quick, easy and harmless...
Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo. Ignore the "Slide to power off" text if it appears. You will not lose any apps, data, music, movies, settings, etc.
If the Reset doesn't work, try a Restore. Note that it's nowhere near as quick as a Reset. Connect via cable to the computer that you use for sync. From iTunes, select the iPad/iPod and then select the Summary tab. Follow directions for Restore and be sure to say "yes" to the backup. You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod. Again, say "yes."
Finally, if the Restore doesn't work, let the battery drain completely. Then recharge for at least an hour and Restore again. -
What is the significance of the blue, green and grey highlighted names in the directory used to text or iMessage? This is not about the messaging themselves, but the names to select to text or iMessage.
The entries in blue are people you've recently exchanged iMessages with, the ones in green are people with whom you've recently exchanged SMS messages and the ones in grey are people with whom you have not recently exchanged any messages.
-
AirDrop works fine, but the name that comes up on both my mini ipad and iPhone 5 is Selena Gomez. Why? Idk... I checked my phone name in settings and it comes up as MY name. What's going on?
Well, then the only answer is that you are Selena Gomez
-
ONCE AGAIN I BOUGHT IT UNDER """""""email"""""""" =
vicfer@**** with many more APPS it is now """"""""vicserfer@****... but the name of visa card is the SAME for VICTOR FERREIRA
<Email Edited By Host>Apple is not here. Apple does not answer questions here. Apple does not acknowledge personal issues with your account here.
Everyone here is a fellow user and we don't have enough information in this rant to understand what the issue is so as to make recommendations of possible solutions. -
I keep getting emails stating that my password had been changed but the name attached to the message is not minr but it's my email address. Is someone using my email address to sign into FaceTime or other Apple Programs?
Of you're being phished. There are a lot of phishing scams going around right now with bad guys trying to get access to apple ID's.
Anytime you want to verify the info, do not click on any links in the mail, but open up iTUnes on your computer and check things out that way.
If you want to verify if anything is wrong http://www.apple.com/support/appleid/contact/
contact apple on your own and see what they say. -
I recently got a message with an exclamation mark stating "your computer name is already in use on this network. The name has been changed to ______"
How did this happen, is it phishing, malware, or did someone hit some button on here to change it. I'm hoping that someone else doesn't have access to everything on my computer now. Help!Hello RaptorTrish,
Interesting name! You don't say what computer you are using, the OS or the nature of the network, home, office etc. Could you fill in a few details.
You are right to be concerned but there is often a simple explanation. -
Should I ok this message-this computer's local hostname Irma's Mac-mini-local is already in use on this network. The name has been changed to Irma's Mac-mini-2local
Don't think this is a conflict with IP Addresses or computer names
= DHCP hangover when computer renews DHCP lease
There is no actual other computer
It just appears that way when reconnects so creates new -2 computer name
What types of names do you use your computers ?
Whether you name them after quantum particles or the romantic poets...
They will each start to be appended with "-2" then "-3" etc if you auto configure network settings from Airport Router DHCP service and you have this Change computer name issue where pop up window states name is already being used on your LAN
As stated previous post you can reset the computer name in SysPrefs / Sharing / Edit button
And restart Router or renew all DHCP leases (if persists in not allowing original name)
Can now press Edit and reset name of choice
But for Fix see link above -
I get this message: This computer’s local hostname “x-8.local” is already in use on this network. The name has been changed to “x-9.local” I have turned off sharing and it continues to upgrade name. What is the fix?
Hi, this is a common problem, mostly just irksome though.
It can have many cause, like using more than one Interface for connections, Router temporarily losing x.local & seeing a new connection with x.local already used, insists it must be x-1.local, x-2.local, etc..
What all Sharing do you have enabled?
Some possible fixes...
http://forums.macrumors.com/showthread.php?t=542899
https://discussions.apple.com/thread/3941367 -
I cannot get my iWeb site to load onto my Godaddy domain.
I can get it to test the connection succesfully but the progress circle never changes and it never loads.
I know on my previous laptop and website when it was working it should a little progress circle where the little
world icon sits. Now it doesn't load.'Publish to' should be set to FTP server
Site name is the name you give to your site.
Server address - the domain name of your site, e.g. fred.com
User name - this is the specific user name for FTP which they gave you.
Password - this is the password they gave you for FTP, not the password for your account.
Directory/Path - leave blank to have an index.html file at root level and the site in a folder with its name, so that entering just the domain name takes you to the site. Or if you want it within a folder, enter the folder name.
Protocol: FTP
Website URL os the address which will reach your home page: if there is nothing in the Directory/Path field it will be just the domain name. -
In Adobe Acrobat X Standard, our user used to be able to resize drawings to 8.5 x 10, it stopped working yesterday. It allows her to do this without an error but the size does not change?
Try unmounting the volume on your iMac using Disk Utility. Then mount it again. You may need to reboot the laptop or relaunch its Finder process (using the Force Quit window) after remounting the drive on your iMac. Remember that no process may be accessing any files on the drive you plan to unmount, or the unmount will fail. Unmounting and remounting an external drive on my iMac made it become visible on my MacBook Pro after it had disappeared.
Maybe you are looking for
-
How to get rid of title bar of a quicktime window?
The main problem: I want to display the title info etc about each track as they play in iTunes. How can I do that on an otherwise black screen (desktop) (I don't want to use the visualizer with its psychedelic patterns). Background: I want to play mu
-
How to execute vb script with out using Remote manager in oim 11g r2
Hi Currently, i have a requirement to execute vb script (present on a remote machine in which connector server is installed) from oim machine while using Exchange connector (11.1.1.6). This can be achieved by using remote manager,but i dont want to
-
Create Select-Options in Modul-Pool
Hi, i need to create a TabStrip Control, and the first tab needs a select-options. Is there any way to build it? Thanks.
-
Table entries in the transport
Hi, What are the steps to add Table entries(SM30) in the transport? I have added the entries using SM30 for the table, but it doesnt appear in the transport request. Please help. Thanks & regards, Yogita
-
Wish to establish iOS app on my iPod
wish to establish iOS app On my apple iPod 64gb