0 کاربر و 2 مهمان درحال مشاهده موضوع.
خروجی ip a چیه؟
: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 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 forever2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 1c:6f:65:94:18:4c brd ff:ff:ff:ff:ff:ff
lshw -C networksudo journalctl -b -u NetworkManageruname -adateip r
خروجی کد: [انتخاب]lshw -C networksudo journalctl -b -u NetworkManageruname -adateip r
[b]lshw -C network[/b]WARNING: you should run this program as super-user. *-network description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:02:00.0 logical name: enp2s0 version: 06 serial: 1c:6f:65:94:18:4c size: 100Mbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl_nic/rtl8168e-2.fw ip=192.168.88.83 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s resources: irq:17 ioport:ee00(size=256) memory:fbcff000-fbcfffff memory:fbcf8000-fbcfbfffWARNING: output may be incomplete or inaccurate, you should run this program as super-user.[b]sudo journalctl -b -u NetworkManager[/b]-- Logs begin at Wed 2020-08-19 17:42:35 +0430, end at Sun 2020-12-06 22:12:>دسامبر 06 15:49:30 ali systemd[1]: Starting Network Manager...دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.3847] Networ>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.3848] Read c>دسامبر 06 15:49:31 ali systemd[1]: Started Network Manager.دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.4395] bus-ma>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.5090] manage>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.5090] monito>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.7028] hostna>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.7029] hostna>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.7033] dns-mg>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.7037] manage>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.7037] manage>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.8237] Loaded>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.8632] Loaded>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.8729] Loaded>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.8818] Loaded>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.9034] Loaded>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.9038] manage>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.9039] manage>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.9040] manage>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.9042] dhcp-i>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.9080] settin>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.9080] settin>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.9081] ifupdo>دسامبر 06 15:49:31 ali NetworkManager[715]: <warn> [1607257171.9110] ifupdo>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.9349] device>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.9352] manage>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.9366] manage>دسامبر 06 15:49:31 ali NetworkManager[715]: <info> [1607257171.9386] device>دسامبر 06 15:49:32 ali NetworkManager[715]: <warn> [1607257172.2207] Error:>دسامبر 06 15:49:32 ali NetworkManager[715]: <info> [1607257172.2345] modem->دسامبر 06 15:49:36 ali NetworkManager[715]: <info> [1607257176.4813] agent->دسامبر 06 15:49:38 ali NetworkManager[715]: <info> [1607257178.2142] manage>دسامبر 06 15:49:55 ali NetworkManager[715]: <info> [1607257195.9861] device>دسامبر 06 15:49:55 ali NetworkManager[715]: <info> [1607257195.9865] device>دسامبر 06 15:49:55 ali NetworkManager[715]: <info> [1607257195.9875] policy>دسامبر 06 15:49:55 ali NetworkManager[715]: <info> [1607257195.9883] device>دسامبر 06 15:49:55 ali NetworkManager[715]: <info> [1607257195.9885] device>دسامبر 06 15:49:55 ali NetworkManager[715]: <info> [1607257195.9890] manage>دسامبر 06 15:49:55 ali NetworkManager[715]: <info> [1607257195.9893] device>دسامبر 06 15:49:55 ali NetworkManager[715]: <info> [1607257195.9901] device>دسامبر 06 15:49:55 ali NetworkManager[715]: <info> [1607257195.9912] dhcp4 >دسامبر 06 15:50:41 ali NetworkManager[715]: <warn> [1607257241.4939] dhcp4 >دسامبر 06 15:50:41 ali NetworkManager[715]: <info> [1607257241.4940] dhcp4 >دسامبر 06 15:50:41 ali NetworkManager[715]: <info> [1607257241.4941] device>دسامبر 06 15:50:41 ali NetworkManager[715]: <info> [1607257241.4948] manage>دسامبر 06 15:50:41 ali NetworkManager[715]: <warn> [1607257241.4962] device>دسامبر 06 15:50:41 ali NetworkManager[715]: <info> [1607257241.4966] device>دسامبر 06 15:50:41 ali NetworkManager[715]: <info> [1607257241.5179] dhcp4 >دسامبر 06 15:50:41 ali NetworkManager[715]: <info> [1607257241.5180] dhcp4 >دسامبر 06 15:50:41 ali NetworkManager[715]: <info> [1607257241.5240] policy>دسامبر 06 15:50:41 ali NetworkManager[715]: <info> [1607257241.5252] device>دسامبر 06 15:50:41 ali NetworkManager[715]: <info> [1607257241.5253] device>دسامبر 06 15:50:41 ali NetworkManager[715]: <info> [1607257241.5258] manage>دسامبر 06 15:50:41 ali NetworkManager[715]: <info> [1607257241.5262] device>دسامبر 06 15:50:41 ali NetworkManager[715]: <info> [1607257241.5275] device>دسامبر 06 15:50:41 ali NetworkManager[715]: <info> [1607257241.5290] dhcp4 >دسامبر 06 15:50:56 ali NetworkManager[715]: <info> [1607257256.7003] audit:>دسامبر 06 15:51:26 ali NetworkManager[715]: <warn> [1607257286.4899] dhcp4 >دسامبر 06 15:51:26 ali NetworkManager[715]: <info> [1607257286.4900] dhcp4 >دسامبر 06 15:51:26 ali NetworkManager[715]: <info> [1607257286.4900] device>دسامبر 06 15:51:26 ali NetworkManager[715]: <info> [1607257286.4906] manage>دسامبر 06 15:51:26 ali NetworkManager[715]: <warn> [1607257286.4916] device>دسامبر 06 15:51:26 ali NetworkManager[715]: <info> [1607257286.4921] device>دسامبر 06 15:51:26 ali NetworkManager[715]: <info> [1607257286.5100] dhcp4 >دسامبر 06 15:51:26 ali NetworkManager[715]: <info> [1607257286.5101] dhcp4 >دسامبر 06 15:51:26 ali NetworkManager[715]: <info> [1607257286.5198] policy>دسامبر 06 15:51:26 ali NetworkManager[715]: <info> [1607257286.5233] device>دسامبر 06 15:51:26 ali NetworkManager[715]: <info> [1607257286.5235] device>دسامبر 06 15:51:26 ali NetworkManager[715]: <info> [1607257286.5240] manage>دسامبر 06 15:51:26 ali NetworkManager[715]: <info> [1607257286.5256] device>دسامبر 06 15:51:26 ali NetworkManager[715]: <info> [1607257286.5256] device>دسامبر 06 15:51:26 ali NetworkManager[715]: <info> [1607257286.5264] device>دسامبر 06 15:51:26 ali NetworkManager[715]: <info> [1607257286.5268] dhcp4 >دسامبر 06 15:51:51 ali NetworkManager[715]: <info> [1607257311.0305] audit:>دسامبر 06 15:52:03 ali NetworkManager[715]: <info> [1607257323.9019] audit:>دسامبر 06 15:52:11 ali NetworkManager[715]: <warn> [1607257331.4899] dhcp4 >دسامبر 06 15:52:11 ali NetworkManager[715]: <info> [1607257331.4900] dhcp4 >دسامبر 06 15:52:11 ali NetworkManager[715]: <info> [1607257331.4901] device>دسامبر 06 15:52:11 ali NetworkManager[715]: <info> [1607257331.4913] manage>دسامبر 06 15:52:11 ali NetworkManager[715]: <warn> [1607257331.4937] device>دسامبر 06 15:52:11 ali NetworkManager[715]: <info> [1607257331.4944] device>دسامبر 06 15:52:11 ali NetworkManager[715]: <info> [1607257331.5099] dhcp4 >دسامبر 06 15:52:11 ali NetworkManager[715]: <info> [1607257331.5100] dhcp4 >دسامبر 06 15:52:11 ali NetworkManager[715]: <info> [1607257331.5109] device>دسامبر 06 15:52:11 ali NetworkManager[715]: <info> [1607257331.5129] settin>دسامبر 06 15:52:11 ali NetworkManager[715]: <info> [1607257331.5254] policy>دسامبر 06 15:52:11 ali NetworkManager[715]: <info> [1607257331.5266] device>دسامبر 06 15:52:11 ali NetworkManager[715]: <info> [1607257331.5267] device>دسامبر 06 15:52:11 ali NetworkManager[715]: <info> [1607257331.5273] manage>دسامبر 06 15:52:11 ali NetworkManager[715]: <info> [1607257331.5276] device>دسامبر 06 15:52:11 ali NetworkManager[715]: <info> [1607257331.5283] device>دسامبر 06 15:52:11 ali NetworkManager[715]: <info> [1607257331.5287] dhcp4 >دسامبر 06 15:52:21 ali NetworkManager[715]: <info> [1607257341.5792] device>دسامبر 06 15:52:21 ali NetworkManager[715]: <info> [1607257341.5797] manage>دسامبر 06 15:52:21 ali NetworkManager[715]: <info> [1607257341.5807] audit:>دسامبر 06 15:52:21 ali NetworkManager[715]: <info> [1607257341.6080] device>دسامبر 06 15:52:21 ali NetworkManager[715]: <info> [1607257341.6300] dhcp4 >دسامبر 06 15:52:21 ali NetworkManager[715]: <info> [1607257341.6301] dhcp4 >دسامبر 06 15:52:21 ali NetworkManager[715]: <info> [1607257341.6327] manage>دسامبر 06 15:52:24 ali NetworkManager[715]: <info> [1607257344.1016] device>دسامبر 06 15:52:24 ali NetworkManager[715]: <info> [1607257344.1018] audit:>دسامبر 06 15:52:24 ali NetworkManager[715]: <info> [1607257344.1020] device>دسامبر 06 15:52:24 ali NetworkManager[715]: <info> [1607257344.1029] manage>دسامبر 06 15:52:24 ali NetworkManager[715]: <info> [1607257344.1039] device>دسامبر 06 15:52:24 ali NetworkManager[715]: <info> [1607257344.1052] device>دسامبر 06 15:52:24 ali NetworkManager[715]: <info> [1607257344.1059] dhcp4 >دسامبر 06 15:53:09 ali NetworkManager[715]: <warn> [1607257389.4989] dhcp4 >دسامبر 06 15:53:09 ali NetworkManager[715]: <info> [1607257389.4989] dhcp4 >دسامبر 06 15:53:09 ali NetworkManager[715]: <info> [1607257389.4990] device>دسامبر 06 15:53:09 ali NetworkManager[715]: <info> [1607257389.5002] manage>دسامبر 06 15:53:09 ali NetworkManager[715]: <warn> [1607257389.5023] device>دسامبر 06 15:53:09 ali NetworkManager[715]: <info> [1607257389.5030] device>دسامبر 06 15:53:09 ali NetworkManager[715]: <info> [1607257389.5260] dhcp4 >دسامبر 06 15:53:09 ali NetworkManager[715]: <info> [1607257389.5261] dhcp4 >دسامبر 06 15:53:09 ali NetworkManager[715]: <info> [1607257389.5352] policy>دسامبر 06 15:53:09 ali NetworkManager[715]: <info> [1607257389.5373] device>دسامبر 06 15:53:09 ali NetworkManager[715]: <info> [1607257389.5378] device>دسامبر 06 15:53:09 ali NetworkManager[715]: <info> [1607257389.5385] manage>دسامبر 06 15:53:09 ali NetworkManager[715]: <info> [1607257389.5394] device>دسامبر 06 15:53:09 ali NetworkManager[715]: <info> [1607257389.5404] device>دسامبر 06 15:53:09 ali NetworkManager[715]: <info> [1607257389.5408] dhcp4 >دسامبر 06 15:53:23 ali NetworkManager[715]: <info> [1607257403.9827] manage>دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0067] device>دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0075] device>دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0105] settin>دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0140] device>دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0264] policy>دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0275] device>دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0276] device>دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0279] device>دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0286] device>دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0291] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0412] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0413] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0413] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0413] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0413] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0413] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0413] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0413] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0413] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0414] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0414] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0414] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0414] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0414] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0414] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0414] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0414] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0414] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0414] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0415] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0415] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0415] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0415] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0415] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0415] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0415] dhcp4 >دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0434] device>دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0690] device>دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0694] device>دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0740] policy>دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0749] device>دسامبر 06 15:53:24 ali NetworkManager[715]: <info> [1607257404.0768] manage>[b]uname -a[/b]Linux ali 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux [b]date[/b]یکشنبه ۰۶ دسامبر ۲۰، ساعات ۲۲:۱۳:۴۴ (+0330) [b]ip r[/b]default via 192.168.**.1 dev enp2s0 proto dhcp metric 100 169.***.0.0/16 dev enp2s0 scope link metric 1000 192.168.**.0/24 dev enp2s0 proto kernel scope link src 192.168.**.** metric 100
با nmtui میتونی متصل بشی؟
Could not activate connection: │ │ │ │ Activation failed: IP configuration │ │ │ │ could not be reserved (no available │ │ │ │ address, timeout, etc.)
cat /etc/hosts
cat /etc/resolv.conf
خروجی این دو موردکد: [انتخاب]cat /etc/hostsکد: [انتخاب]cat /etc/resolve.conf
cat /etc/resolve.conf
cat /etc/hosts127.0.0.1 localhost127.0.1.1 ali# The following lines are desirable for IPv6 capable hosts::1 ip6-localhost ip6-loopbackfe00::0 ip6-localnetff00::0 ip6-mcastprefixff02::1 ip6-allnodesff02::2 ip6-allrouters
cat /etc/resolve.confcat: /etc/resolve.conf: No such file or directory
/etc/resolv.conf
sudo sh -c \"printf '%s\n%s' 'nameserver 4.2.2.4' 'nameserver 8.8.8.8' > /etc/resolv.conf\"
اسم فایل رو اشتباه مینویسید.کد: [انتخاب]/etc/resolv.confبرای تنظیم کردن dns ها:کد: [انتخاب]sudo sh -c \"printf '%s\n%s' 'nameserver 4.2.2.4' 'nameserver 8.8.8.8' > /etc/resolv.conf\"
cat /etc/resolv.conf # This file is managed by man:systemd-resolved(8). Do not edit.## This is a dynamic resolv.conf file for connecting local clients to the# internal DNS stub resolver of systemd-resolved. This file lists all# configured search domains.## Run "resolvectl status" to see details about the uplink DNS servers# currently in use.## Third party programs must not access this file directly, but only through the# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,# replace this symlink by a static file or a different symlink.## See man:systemd-resolved.service(8) for details about the supported modes of# operation for /etc/resolv.conf.nameserver 127.0.0.53options edns0 trust-ad
کد: [انتخاب]: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 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 forever2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 1c:6f:65:94:18:4c brd ff:ff:ff:ff:ff:ff
نقلقول از: ali7rangoo در 16 آذر 1399، 08:07 بظکد: [انتخاب]: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 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 forever2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 1c:6f:65:94:18:4c brd ff:ff:ff:ff:ff:ffمشکل اینه که آیپی نگرفتید و باید دنبال این باشید که چرا سرویس DHCP به درستی کار نکرده.