palpalych |
|
Темы:
89
Сообщения:
1126
Участник с: 09 августа 2011
|
Добрый день. Ситуация: у меня роутер, хочу значек сети на панели гнома Запускаю sudo systemctl start NetworkManager.service как это работает?
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
|
stmc |
|
Темы:
14
Сообщения:
126
Участник с: 13 октября 2012
|
сеть поднята через dhcpcd? |
papados |
|
Темы:
16
Сообщения:
216
Участник с: 11 апреля 2013
|
stmcsystemctl disable dhcpcd.service systemctl enable NetworkManager.service systemctl start NetworkManager.service и все вроде
C уважением papados!
|
palpalych |
|
Темы:
89
Сообщения:
1126
Участник с: 09 августа 2011
|
papadosstmcsystemctl disable dhcpcd.service ну да через dhcpcd не не работает и даже роутер не видит
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
|
stmc |
|
Темы:
14
Сообщения:
126
Участник с: 13 октября 2012
|
еще забыли systemctl stop dhcpcd.service |
palpalych |
|
Темы:
89
Сообщения:
1126
Участник с: 09 августа 2011
|
stmc не забыли, я для верности ребут сделал, короче не видит ни сеть ни роутер, наверное чета где та писать нужно, мршруты или чЁ?
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
|
lumberjack |
|
Темы:
165
Сообщения:
799
Участник с: 06 января 2012
|
ip link systemctl start [email protected]??s??.service systemctl enable [email protected]??s??.service |
palpalych |
|
Темы:
89
Сообщения:
1126
Участник с: 09 августа 2011
|
lumberjack блин результат прежний, сеть не работает...
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
|
naszar |
|
Темы:
21
Сообщения:
507
Участник с: 24 сентября 2012
|
palpalychПопробую угадать. Случайно раньше NetworkManager не стоял? У него есть папочка с настройками в /etc, и он вполне может цеплять настройки которые уже не актуальны. Например статический ip. Чтобы не гадать, покажите ifconfig systemctl --no-pager |
palpalych |
|
Темы:
89
Сообщения:
1126
Участник с: 09 августа 2011
|
~]$ ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 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 valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:23:54:45:43:52 brd ff:ff:ff:ff:ff:ff inet 192.168.0.5/24 brd 192.168.0.255 scope global enp2s0 valid_lft forever preferred_lft forever inet6 fe80::223:54ff:fe45:4352/64 scope link valid_lft forever preferred_lft forever ~]$ systemctl --no-pager UNIT LOAD ACTIVE SUB DESCRIPTION proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Automount Point sys-devices-pci0000:00-0000:00:01.0-0000:01:00.1-sound-card1.device loaded active plugged GF108 High Definition Audio Controller sys-devices-pci0000:00-000...x2d3:1.0-host6-target6:0:0-6:0:0:0-block-sdb.device loaded active plugged USB_SD_Reader sys-devices-pci0000:00-000...x2d3:1.0-host6-target6:0:0-6:0:0:1-block-sdc.device loaded active plugged USB_CF_Reader sys-devices-pci0000:00-000...x2d3:1.0-host6-target6:0:0-6:0:0:2-block-sdd.device loaded active plugged USB_SM_Reader sys-devices-pci0000:00-000...x2d3:1.0-host6-target6:0:0-6:0:0:3-block-sde.device loaded active plugged USB_MS_Reader sys-devices-pci0000:00-0000:00:1b.0-sound-card0.device loaded active plugged 82801JI (ICH10 Family) HD Audio Controller sys-devices-pci0000:00-000...0.0-ata1-host0-target0:0:0-0:0:0:0-block-sr0.device loaded active plugged Optiarc_DVD_RW_AD-7200A sys-devices-pci0000:00-0000:00:1c.5-0000:02:00.0-net-enp2s0.device loaded active plugged P5KPL-CM Motherboard sys-devices-pci0000:00-000...ta3-host2-target2:0:0-2:0:0:0-block-sda-sda1.device loaded active plugged Hitachi_HDP725050GLA360 sys-devices-pci0000:00-000...ta3-host2-target2:0:0-2:0:0:0-block-sda-sda2.device loaded active plugged Hitachi_HDP725050GLA360 sys-devices-pci0000:00-000...ta3-host2-target2:0:0-2:0:0:0-block-sda-sda3.device loaded active plugged Hitachi_HDP725050GLA360 sys-devices-pci0000:00-000...ta3-host2-target2:0:0-2:0:0:0-block-sda-sda4.device loaded active plugged Hitachi_HDP725050GLA360 sys-devices-pci0000:00-000...f.2-ata3-host2-target2:0:0-2:0:0:0-block-sda.device loaded active plugged Hitachi_HDP725050GLA360 sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1 sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2 sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3 sys-devices-pnp0-00:0c-tty-ttyS0.device loaded active plugged /sys/devices/pnp0/00:0c/tty/ttyS0 sys-module-configfs.device loaded active plugged /sys/module/configfs sys-module-fuse.device loaded active plugged /sys/module/fuse sys-subsystem-net-devices-enp2s0.device loaded active plugged P5KPL-CM Motherboard -.mount loaded active mounted / boot.mount loaded active mounted /boot dev-hugepages.mount loaded active mounted Huge Pages File System dev-mqueue.mount loaded active mounted POSIX Message Queue File System home.mount loaded active mounted /home run-user-1000-gvfs.mount loaded active mounted /run/user/1000/gvfs sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System sys-kernel-config.mount loaded active mounted Configuration File System sys-kernel-debug.mount loaded active mounted Debug File System tmp.mount loaded active mounted Temporary Directory systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch accounts-daemon.service loaded active running Accounts Service colord.service loaded active running Manage, Install and Generate Color Profiles dbus.service loaded active running D-Bus System Message Bus derby.service loaded active running Apache Derby Database Network Server dhcpcd.service loaded active running dhcpcd on all interfaces dkms.service loaded active exited Dynamic Kernel Modules System gdm.service loaded active running GNOME Display Manager polkit.service loaded active running Authorization Manager rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service systemd-journald.service loaded active running Journal Service systemd-logind.service loaded active running Login Service systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems systemd-sysctl.service loaded active exited Apply Kernel Variables systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directories systemd-udev-trigger.service loaded active exited udev Coldplug all Devices systemd-udevd.service loaded active running udev Kernel Device Manager systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown systemd-user-sessions.service loaded active exited Permit User Sessions systemd-vconsole-setup.service loaded active exited Setup Virtual Console udisks2.service loaded active running Disk Manager upower.service loaded active running Daemon for power management dbus.socket loaded active running D-Bus System Message Bus Socket dmeventd.socket loaded active listening Device-mapper event daemon FIFOs lvmetad.socket loaded active listening LVM2 metadata daemon socket systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe systemd-journald.socket loaded active running Journal Socket systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket systemd-udevd-control.socket loaded active listening udev Control Socket systemd-udevd-kernel.socket loaded active running udev Kernel Socket dev-sda2.swap loaded active active /dev/sda2 basic.target loaded active active Basic System cryptsetup.target loaded active active Encrypted Volumes getty.target loaded active active Login Prompts graphical.target loaded active active Graphical Interface local-fs-pre.target loaded active active Local File Systems (Pre) local-fs.target loaded active active Local File Systems multi-user.target loaded active active Multi-User System network.target loaded active active Network paths.target loaded active active Paths remote-fs.target loaded active active Remote File Systems sockets.target loaded active active Sockets sound.target loaded active active Sound Card swap.target loaded active active Swap sysinit.target loaded active active System Initialization timers.target loaded active active Timers systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 79 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'.
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
|