Bug ID | 913861 |
---|---|
Summary | wicked does not support dsl connections |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | 13.2 |
Hardware | i586 |
OS | openSUSE 13.2 |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | bjoern.lotz@novell.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
I updated from 13.1 to 13.2. In 13.1, the dsl connection was set up automatically. With 13.2, the support for that is gone (as is the YaST DSL and ISDN module). Searching Bugzilla and the web I found that one could use NetworkManager to set up DSL, but this machine is used as a router with no one logged in normally, so NetworkManager is not an option. As the configuration (fortunately) was not changed by the update I could still activate the DSL connection to the internet with the cinternet command. With an existing dsl0 interface, I can use wicked to bring it down: wicked ifdown dsl0 works as expected. However, wicked is not able to bring the interface up again: wicked ifup dsl0 fails. As a workaround, I created a /etc/systemd/system/dsl0.system unit file: [Unit] Description=Control the dsl connection # iptables-rules runs some iptables script that for some reason delays the # execution of this service so it actually works After=network-online.target iptables-rules.service Wants=network-online.target iptables-rules.service [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/cinternet -i dsl0 -A ExecStart=/usr/bin/cinternet -i dsl0 -D ExecStart=/sbin/ip address show dev dsl0 ExecStop=/usr/bin/cinternet -i dsl0 -H ExecStop=/usr/bin/cinternet -i dsl0 -O KillMode=process Restart= [Install] WantedBy=multi-user.target But to me this looks more like a hack, especially I had to find some way to convince systemd to actually run this so late during boot that the ethernet interfaces are already set up, because otherwise it does not work during boot. mond:~ # systemctl status wicked wicked.service - wicked managed network interfaces Loaded: loaded (/usr/lib/systemd/system/wicked.service; enabled) Active: active (exited) since Di 2015-01-20 08:15:22 CET; 4h 9min ago Main PID: 826 (code=exited, status=0/SUCCESS) CGroup: /system.slice/wicked.service Jan 20 08:15:22 mond wicked[826]: lo up Jan 20 08:15:22 mond wicked[826]: enp0s13 up Jan 20 08:15:22 mond wicked[826]: enp0s12 up Jan 20 08:15:22 mond wicked[826]: eth0 up Jan 20 08:15:22 mond wicked[826]: dsl0 no-device Jan 20 08:15:22 mond wicked[826]: ippp0 no-device