Comments (10)
Don't blame netctl
for your own faults:
# systemctl start netctl@wlan0\x2dKGBFREE.service
This line causes the output you report as a bug. The argument contains a /
, hence it needs to be quoted/escaped. On top of that, this is not the right way to use netctl
, but you seem to know that. Instead of the above command, you needed:
netctl start wlan0-KGBFREE
Quoting and escaping for systemd
is handled by netctl
.
from netctl.
No, the problem is when I ran:
netctl start 'wlan0-Mac4 - Weilun'
Job for netctl@wlan0\x2dMac4\x20\x2d\x20Weilun.service failed. See 'systemctl status netctl@wlan0\x2dMac4\x20\x2d\x20Weilun.service' and 'journalctl -xn' for details.
I then renamed it to get workaround this.
from netctl.
No, you did not. The renaming was not needed. You can use netctl status <your-profile>
as a shorthand for systemctl status netctl@<your-profile-but-escaped>.service
.
from netctl.
Ok, most people would probably stick to using systemctl like they do with the rest of their system and run into this issue again and again.
from netctl.
I agree... It's a little counter intuitive to have a program designed to
act like systemd not play nice with systemd. I've run into this problem
often as well.
On Nov 17, 2013 6:37 PM, "Kai Hendry" [email protected] wrote:
Ok, most people would probably stick to using systemctl like they do with
the rest of their system and run into this issue again and again.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/66#issuecomment-28668950
.
from netctl.
If you don't understand systemd escaping, you don't understand systemd.
from netctl.
So even when generating profiles through wifi-menu or netctl procedures and
then using systemctl enable/start netctl-auto@[wireless-device] and seeing
similar errors upon startup, that is still somehow me failing to escape
systemd properly?
On Nov 18, 2013 4:31 AM, "Jouke Witteveen" [email protected] wrote:
If you don't understand systemd escaping, you don't understand systemd.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/66#issuecomment-28687835
.
from netctl.
Yes, indeed.
from netctl.
So you're saying that even when I type in something with no hyphens such
as:
systemctl enable/start [email protected]
I'm somehow failing to escape something when systemd attempts to switch
profiles automatically for me? Profile renaming helps, as does connecting
manually in either way you describe, yet I can't seem to get systemd to
switch automatically.
Now this may actually not even be an issue with naming and could be
something else, but the errors aren't very forthcoming so at the moment it
seems like I'll have to stick to my current procedure of manually
connecting all the time until I find the problem.
On Nov 18, 2013 7:23 AM, "Jouke Witteveen" [email protected] wrote:
Yes, indeed.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/66#issuecomment-28697143
.
from netctl.
systemctl <enable|start> [email protected]
is the proper way to use netctl-auto
and documented as such in netctl.special(7)
. No problem there. I will not reply to this thread anymore, as there is no actual issue that is being discussed.
from netctl.
Related Issues (20)
- Ask for password on network connect HOT 3
- [email protected] is not started after interface is inserted HOT 9
- Reduce/remove waiting time for pluggable WiFi devices on startup HOT 9
- netctl-ifplugd Unable to get ip address HOT 3
- [Feature request] Auto retry wifi connection HOT 5
- Add option for accept_ra value HOT 6
- Support stable private IPv6 addresses HOT 4
- Allow regular user to `netctl switch-to <profile>` HOT 2
- [Feature request] Blacklist access points. HOT 10
- NO SSID environment variable HOT 6
- Only one hook works at a time HOT 3
- netctl wanted by multi-user.target, slowing down boot HOT 4
- netctl-auto list_netctl_auto_interfaces() function bug HOT 1
- Add a command for WPS Push Button HOT 4
- How to configure pppoe with macvlan interface? HOT 7
- Check config file when restart command HOT 5
- When an issue occurs in the ISP, the systemd service of pppoe will fail. HOT 10
- Hook not executed for netctl-auto HOT 8
- Error while executing the script via ExecUpPost HOT 1
- No way to leave resolv.conf alone with DHCP profile (?) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netctl.