I've got new interface tun0. Do I need any configurations in dhcp-client-service-type ?
# ifconfig enp3s0 Link encap:Ethernet HWaddr xx:xx:xx:xx:22 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 TX bytes:0 lo Link encap:Local Loopback inet addr:127.0.0.1 Bcast:0.0.0.0 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:3791 errors:0 dropped:0 overruns:0 frame:0 TX packets:3791 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:948371 TX bytes:948371 tun0 Link encap:(hwtype unknown) inet addr:10.14.0.18 Bcast:0.0.0.0 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:1329 errors:0 dropped:0 overruns:0 frame:0 TX packets:1244 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:828098 TX bytes:735815 wlp2s0 Link encap:Ethernet HWaddr xx:xx:xx:xx:11 inet addr:192.168.1.33 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2095 errors:0 dropped:0 overruns:0 frame:0 TX packets:1320 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1192047 TX bytes:864838 Apr 5, 2019, 6:34 PM by [email protected]: > Hello, Ricardo Wurmus! > > I have rewrote my config, including all modifications into the one > (modify-services) function, I've added dhcp-client-service-type to (services) > section. > > But networking is not running after reconfigure. > > # guix system reconfigure /etc/config.scm > ...console-font-tty3 console-font-tty4 console-font-tty5 console-font-tty6 > virtual-terminal dbus-system elogind upower-daemon wpa-supplicant xorg-server > networking... > To complete the upgrade, run 'herd restart SERVICE' to stop, > upgrade, and restart each service that was not automatically restarted. > shepherd: Evaluating user expression (let* ((services (map primitive-load > (?))) # ?) ?). > shepherd: Service user-homes could not be started. > shepherd: Service term-auto could not be started. > shepherd: Service networking could not be started. > bootloader successfully installed on '/dev/sda' > > # tail -n150 /var/log/messages > ... > Apr 5 21:17:18 localhost nscd: 335 monitored file `/etc/hosts` was deleted, > removing watch > Apr 5 21:17:18 localhost nscd: 335 monitored file `/etc/hosts` was created, > adding watch > Apr 5 21:17:18 localhost nscd: 335 monitored file `/etc/services` was > deleted, removing watch > Apr 5 21:17:18 localhost nscd: 335 monitored file `/etc/services` was > created, adding watch > Apr 5 21:17:18 localhost shepherd[1]: Evaluating user expression (let* > ((services (map primitive-load (?))) # ?) ?). > Apr 5 21:17:19 localhost shepherd[1]: Service user-homes could not be > started. > Apr 5 21:17:19 localhost shepherd[1]: Service term-auto could not be > started. > Apr 5 21:17:19 localhost vmunix: [ 1821.593856] 0000:03:00.0: Missing Free > firmware (non-Free firmware loading is disabled) > Apr 5 21:17:19 localhost vmunix: [ 1821.593895] r8169 0000:03:00.0 enp3s0: > unable to load firmware patch /*(DEBLOBBED)*/ (-2) > Apr 5 21:17:19 localhost vmunix: [ 1821.594150] Generic PHY r8169-300:00: > attached PHY driver [Generic PHY] (mii_bus:phy_addr=r8169-300:00, irq=IGNORE) > Apr 5 21:17:19 localhost vmunix: [ 1821.694129] r8169 0000:03:00.0 enp3s0: > Link is Down > Apr 5 21:17:19 localhost dhclient: Unsupported device type 65534 for "tun0" > Apr 5 21:17:19 localhost dhclient: > Apr 5 21:17:19 localhost dhclient: If you think you have received this > message due to a bug rather > Apr 5 21:17:19 localhost dhclient: than a configuration issue please read > the section on submitting > Apr 5 21:17:19 localhost dhclient: bugs on either our web page at > > www.isc.org <http://www.isc.org>> or in the README file > Apr 5 21:17:19 localhost dhclient: before submitting a bug. These pages > explain the proper > Apr 5 21:17:19 localhost dhclient: process and the information we find > helpful for debugging. > Apr 5 21:17:19 localhost dhclient: > Apr 5 21:17:19 localhost dhclient: exiting. > Apr 5 21:17:19 localhost shepherd[1]: Service networking could not be > started. > > During boot I saw: rfkill: WLAN soft blocked, and after start up I've made > sure of it: > # rfkill list > 0: ideapad_wlan: Wireless LAN > Soft blocked: yes > Hard blocked: no > 1: phy0: Wireless LAN > Soft blocked: yes > Hard blocked: no > 2: ideapad_bluetooth: Bluetooth > Soft blocked: yes > Hard blocked: no > > I do not know how to overcome this soft blocking of wlan. In other > distribution I added to blacklist ideapad_laptop and it worked, but here when > I add ideapad_laptop to modprobe blacklist, ifconfig does not see any > interface but only phy0. I think this soft blocking happens because I have > bluetooth and wifi and may be they conflicts using one driver? I want to > disable bluetooth at all, but lines in my config do not help: > (remove (lambda (service) (eq? (service-kind service) bluetooth-service)) > > Let me know if there is any way to solve all these troubles? > > Apr 5, 2019, 4:43 PM by > [email protected] <mailto:[email protected]>> : > >> >> [email protected] <mailto:[email protected]>>> writes: >> >>> I am an anti-fan of NetworkManager. I need wpa_supplicant with dhcp, I >>> try this config with dhcpcd. But it needs networking service. Please, >>> how to add networking service without adding >>> network-manager-service-type? >>> >> >> Don’t setup a dhcp daemon then, but use dhcp-client-service-type. Quoth >> the manual: >> >> -- Scheme Variable: dhcp-client-service-type >> This is the type of services that run DHCP, a Dynamic Host >> Configuration Protocol (DHCP) client, on all the non-loopback >> network interfaces. Its value is the DHCP client package to use, >> ‘isc-dhcp’ by default. >> >> -- >> Ricardo >> > >
