当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 23 篇帖子 ]  前往页数 1, 2  下一页
作者 内容
1 楼 
 文章标题 : 新手求助
帖子发表于 : 2016-04-11 15:11 

注册: 2016-04-11 15:08
帖子: 12
系统: ubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
ubuntu14.04的系统,连接mentohust,一直提示无法连接服务器,重启认证。怎么办啊?求大神直指导。


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 新手求助
帖子发表于 : 2016-04-11 19:25 

注册: 2009-08-04 16:33
帖子: 16893
送出感谢: 21
接收感谢: 1827
把下面指令 複製 貼進終端機 執行
0. uname -a
1. sudo lspci -knn
2. sudo lshw -numeric -class network
3. sudo ifconfig -a
4. sudo route -nv
5. sudo dhclient -v
6. sudo cat /etc/network/interfaces
7. sudo ls -al /etc/resolv.conf
8. sudo cat /run/resolvconf/resolv.conf
9. sudo cat /etc/NetworkManager/NetworkManager.conf
10. sudo nmcli dev status
把結果直接 選取/複製/貼上來


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 新手求助
帖子发表于 : 2016-04-11 22:00 

注册: 2016-04-11 15:08
帖子: 12
系统: ubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
代码:
tchj@tchj-Precision-T1700:~$ uname -a                      #0
Linux tchj-Precision-T1700 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
tchj@tchj-Precision-T1700:~$ sudo lspci -knn                  #1
[sudo] password for tchj:
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
   Subsystem: Dell Device [1028:05a6]
   Kernel driver in use: hsw_uncore
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
   Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
   Subsystem: Dell Device [1028:05a6]
   Kernel driver in use: i915
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
   Subsystem: Dell Device [1028:05a6]
   Kernel driver in use: snd_hda_intel
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 04)
   Subsystem: Dell Device [1028:05a6]
   Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
   Subsystem: Dell Device [1028:05a6]
   Kernel driver in use: mei_me
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-LM [8086:153a] (rev 04)
   Subsystem: Dell Device [1028:05a6]
   Kernel driver in use: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 04)
   Subsystem: Dell Device [1028:05a6]
   Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
   Subsystem: Dell Device [1028:05a6]
   Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d4)
   Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 [8086:8c12] (rev d4)
   Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 [8086:8c18] (rev d4)
   Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 04)
   Subsystem: Dell Device [1028:05a6]
   Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation C226 Series Chipset Family Server Advanced SKU LPC Controller [8086:8c56] (rev 04)
   Subsystem: Dell Device [1028:05a6]
   Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] (rev 04)
   Subsystem: Dell Device [1028:05a6]
   Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 04)
   Subsystem: Dell Device [1028:05a6]
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119 [NVS 315] [10de:107c] (rev a1)
   Subsystem: NVIDIA Corporation Device [10de:102f]
   Kernel driver in use: nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation GF119 HDMI Audio Controller [10de:0e08] (rev a1)
   Subsystem: NVIDIA Corporation Device [10de:102f]
   Kernel driver in use: snd_hda_intel
03:00.0 PCI bridge [0604]: Texas Instruments XIO2001 PCI Express-to-PCI Bridge [104c:8240]
tchj@tchj-Precision-T1700:~$ sudo lshw -numeric -class network        #2
  *-network DISABLED     
       description: Ethernet interface
       product: Ethernet Connection I217-LM [8086:153A]
       vendor: Intel Corporation [8086]
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 04
       serial: 64:00:6a:72:39:9a
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.13-4 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:29 memory:f7800000-f781ffff memory:f783d000-f783dfff ioport:f080(size=32)
tchj@tchj-Precision-T1700:~$ sudo ifconfig -a                        #3
eth0      Link encap:Ethernet  HWaddr 64:00:6a:72:39:9a 
          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 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:20 Memory:f7800000-f7820000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  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:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

tchj@tchj-Precision-T1700:~$ sudo route -nv                       #4
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
tchj@tchj-Precision-T1700:~$ sudo dhclient -v                      #5
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/64:00:6a:72:39:9a
Sending on   LPF/eth0/64:00:6a:72:39:9a
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x4d5b2a46)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 (xid=0x4d5b2a46)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 (xid=0x4d5b2a46)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12 (xid=0x4d5b2a46)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 (xid=0x4d5b2a46)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 (xid=0x4d5b2a46)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 (xid=0x4d5b2a46)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17 (xid=0x4d5b2a46)
^Ctchj@tchj-Precision-T1700:~$ sudo cat /etc/network/interfaces   #6
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet DHCP
tchj@tchj-Precision-T1700:~$ sudo ls -al /etc/resolv.conf               #7
lrwxrwxrwx 1 root root 29  4月  9 02:38 /etc/resolv.conf -> ../run/resolvconf/resolv.conf
tchj@tchj-Precision-T1700:~$ sudo cat /run/resolvconf/resolv.conf       # 8
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
tchj@tchj-Precision-T1700:~$ sudo cat /etc/NetworkManager/NetworkManager.conf   #9
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false
tchj@tchj-Precision-T1700:~$ sudo nmcli dev status                 #10
Error: NetworkManager is not running.
tchj@tchj-Precision-T1700:~$ ^C
tchj@tchj-Precision-T1700:~$


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 新手求助
帖子发表于 : 2016-04-11 22:03 

注册: 2016-04-11 15:08
帖子: 12
系统: ubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
照你说的,我把结果放上来了,帮我看看哪里出问题了吧,谢谢啦。


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 新手求助
帖子发表于 : 2016-04-11 23:21 

注册: 2009-08-04 16:33
帖子: 16893
送出感谢: 21
接收感谢: 1827
引用:
sudo lshw -numeric -class network
*-network DISABLED
product: Ethernet Connection I217-LM [8086:153A]
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.13-4 latency=0 link=no multicast=yes port=twisted pair

1. 有線網卡 被關閉 ?
引用:
NetworkManager is not running.

2. NetworkManager 沒啟動 ?
2-1. sudo service network-manager restart
把回應文字複製 貼上來
引用:
sudo cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet DHCP

3. 你的 DHCP Server IPv4 網址是多少


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 新手求助
帖子发表于 : 2016-04-11 23:42 
头像

注册: 2011-03-20 13:12
帖子: 4522
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 997
tangchuanjiang 写道:
sudo lshw -numeric -class network
*-network DISABLED
product: Ethernet Connection I217-LM [8086:153A]
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.13-4 latency=0 link=no multicast=yes port=twisted pair

还是 @poloshiao 厉害,一眼就看出问题可能不在 mentohust 上
I217-LM,不会又是那个经典问题吧。如果是双系统,需要关闭网络唤醒 (WoL, Wake-on-LAN)

I217-LM + e1000e 这个组合 在双系统下容易出现此类问题
前几天刚出现一例 viewtopic.php?f=116&t=473460
主板的某些功能会使网卡无法彻底断电,使得关机时设置无法重置,从而使Windows 驱动和 Linux 驱动的设置相互影响。

vickycq 写道:
双系统网卡设置相互影响的问题,有用户报告关闭主板的网络唤醒功能 (WoL, Wake-on-LAN) 可缓解。

poloshiao 写道:
3. 雙系統 或 多重系統 開機
最好把所有關機還耗用電源的設定 全部排除
否則問題可能一大堆

LaoAnchor 写道:
的确是双系统网卡设置相互影响的问题,在windows和主板上关闭网络唤醒功能后,回到UBUNTU有线联网功能就正常了。


需要在 BIOS 和 Windows 驱动中都设置关闭。包括 网络唤醒、PCI-E唤醒 和 PXE boot 等等等等

参考
https://bbs.archlinux.org/viewtopic.php?id=191981
https://bbs.archlinux.org/viewtopic.php?pid=1491387#p1491387


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户


页首
 用户资料  
 
7 楼 
 文章标题 : Re: 新手求助
帖子发表于 : 2016-04-12 19:05 

注册: 2016-04-11 15:08
帖子: 12
系统: ubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
代码:
tchj@tchj-Precision-T1700:~$ sudo lshw -numeric -class network
  *-network               
       description: Ethernet interface
       product: Ethernet Connection I217-LM [8086:153A]
       vendor: Intel Corporation [8086]
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 04
       serial: 64:00:6a:72:39:9a
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k duplex=full firmware=0.13-4 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:29 memory:f7800000-f781ffff memory:f783d000-f783dfff ioport:f080(size=32)
tchj@tchj-Precision-T1700:~$ sudo nmcli dev status
DEVICE     TYPE              STATE       
eth0       802-3-ethernet    connected   
tchj@tchj-Precision-T1700:~$ sudo service network-manager restart
stop: Unknown instance:
network-manager start/running

一开始是忘了开启网卡,现在开了以后,就是这样的了。还有你说的你的 DHCP Server IPv4 網址是多少,指的是什么?我的电脑是动态IP。不知道这个。。。在帮我看下吧。谢谢拉


页首
 用户资料  
 
8 楼 
 文章标题 : Re: 新手求助
帖子发表于 : 2016-04-12 19:44 

注册: 2009-08-04 16:33
帖子: 16893
送出感谢: 21
接收感谢: 1827
引用:
我的电脑是动态IP。

1. DHCP 就是 动态 IP
DHCP Server IPv4 就是分配給你 动态 IP 的那個 伺服器 (通常是 router)

2. 如果不確定
sudo dhclient -v
把結果複製貼上來
如果正常 一般會顯示出 DHCP Server IPv4
引用:
sudo service network-manager restart
stop: Unknown instance:

3. 顯示 你的 network-manager 並沒有開機即自動啟動
3-1. ubuntu 預設由 network-manager 管理上網
一般預設 應該是 開機即自動啟動
意思是 除非是你改變了預設 否則 開機不自動啟動 不正常
sudo dpkg -l | grep network-manager
把結果直接複製貼上來


页首
 用户资料  
 
9 楼 
 文章标题 : Re: 新手求助
帖子发表于 : 2016-04-13 9:30 

注册: 2016-04-11 15:08
帖子: 12
系统: ubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
代码:
^Ctchj@tchj-Precision-T1700:~$ sudo dhclient -v
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/64:00:6a:72:39:9a
Sending on   LPF/eth0/64:00:6a:72:39:9a
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0xa18bd908)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 (xid=0xa18bd908)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 (xid=0xa18bd908)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 (xid=0xa18bd908)
^Ctchj@tchj-Precision-T1700:~$ sudo dpkg -l| grep network-manager
ii  network-manager                                       0.9.8.8-0ubuntu7.1                                  amd64        network management framework (daemon and userspace tools)
ii  network-manager-gnome                                 0.9.8.8-0ubuntu4.3                                  amd64        network management framework (GNOME frontend)
ii  network-manager-pptp                                  0.9.8.2-1ubuntu2                                    amd64        network management framework (PPTP plugin core)
ii  network-manager-pptp-gnome                            0.9.8.2-1ubuntu2                                    amd64        network management framework (PPTP plugin GNOME GUI)
tchj@tchj-Precision-T1700:~$


页首
 用户资料  
 
10 楼 
 文章标题 : Re: 新手求助
帖子发表于 : 2016-04-13 9:40 

注册: 2016-04-11 15:08
帖子: 12
系统: ubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
poloshiao 写道:
引用:
我的电脑是动态IP。

1. DHCP 就是 动态 IP
DHCP Server IPv4 就是分配給你 动态 IP 的那個 伺服器 (通常是 router)

2. 如果不確定
sudo dhclient -v
把結果複製貼上來
如果正常 一般會顯示出 DHCP Server IPv4
引用:
sudo service network-manager restart
stop: Unknown instance:

3. 顯示 你的 network-manager 並沒有開機即自動啟動
引用:
3-1. ubuntu 預設由 network-manager 管理上網
一般預設 應該是 開機即自動啟動
意思是 除非是你改變了預設 否則 開機不自動啟動 不正常
sudo dpkg -l | grep network-manager
把結果直接複製貼上來


我的电脑从装了这个系统就没有用过,所以应该不是我改了预设,如果改了,那要怎么改回来呢?


页首
 用户资料  
 
11 楼 
 文章标题 : Re: 新手求助
帖子发表于 : 2016-04-13 11:07 

注册: 2009-08-04 16:33
帖子: 16893
送出感谢: 21
接收感谢: 1827
1. 你還不確定 Dhcp Server (路由器) IPv4 網址嗎
1-1. 請提供 路由器 品牌及型號
引用:
sudo dhclient -v
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/64:00:6a:72:39:9a
Sending on LPF/eth0/64:00:6a:72:39:9a
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0xa18bd908)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 (xid=0xa18bd908)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 (xid=0xa18bd908)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 (xid=0xa18bd908)

2. 你發出的 dhcp 連線請求 沒有獲得 Dhcp Server 的回應
2-1. 可能原因 很多
要偵查出問題的來源 需要耐心 也需要運氣
可能是 硬件原因 也可能是軟件原因

3. 試試分段檢查
3-1. 先檢查你的本機 (localhost) 到 eth0 有線網卡是否可以溝通
/etc/network/interfaces
引用:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet DHCP

3-2. 暫時改為
/etc/network/interfaces
引用:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
# iface eth0 inet DHCP
iface eth0 inet static
address 192.168.0.11
netmask 255.255.255.255

3-2-1. 然後
sudo /etc/init.d/networking start

sudo /etc/init.d/networking restart
然後
sudo ping -c 3 192.168.0.11
把結果複製貼上來
3-2-2. 上面
sudo /etc/init.d/networking start

sudo /etc/init.d/networking restart
如果有錯誤訊息 請複製 貼上來


页首
 用户资料  
 
12 楼 
 文章标题 : Re: 新手求助
帖子发表于 : 2016-04-13 15:56 

注册: 2016-04-11 15:08
帖子: 12
系统: ubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
DHCP IPV4的地址是在Editing Eth0net connection1/IPV4 Setting/下面有个routes..里面查看吗?我进去,里面好像什么也没有。
还有3-2那个,暂时更改,我要输入什么指令,才能更改为你写的那个蓝色字体的样子?不是很会。。


页首
 用户资料  
 
13 楼 
 文章标题 : Re: 新手求助
帖子发表于 : 2016-04-13 16:41 

注册: 2009-08-04 16:33
帖子: 16893
送出感谢: 21
接收感谢: 1827
引用:
还有3-2那个,暂时更改,我要输入什么指令

如果你是使用 gedit
1. 第一次 先安裝 gksu 套件 (來自 universe 套件庫)
2. 按下 alt + F2
輸入 gksudo gedit /etc/network/interfaces
修改後 儲存
引用:
DHCP IPV4的地址是在Editing Eth0net connection1/IPV4 Setting/下面有个routes..里面查看吗?

3. 在 routes 設定的是 gateway 不一定是 DHCP IP 也可能就是 DHCP IP
3-1. 通常是 196.168.1.1 或 196.168.0.1 (但不是絕對)
查看你的 路由器 使用說明書 看看 有沒有
3-2. 如果你設定 iface eth0 inet dhcp
一般不需要指定 DHCP IPV4 的 IP
dhclient 相關指令 會自動搜尋
引用:
iface eth0 inet DHCP

3-3. 應該是
iface eth0 inet dhcp
3-3-1. 注意 在 Linux 大部分 大小寫是不一樣的 不要混洨了
3-3-2. 詳細參閱
http://unix.stackexchange.com/questions ... ces-syntax
Good detailed explanation of /etc/network/interfaces syntax?
使用 dhcp 搜尋


页首
 用户资料  
 
14 楼 
 文章标题 : Re: 新手求助
帖子发表于 : 2016-04-14 10:33 

注册: 2016-04-11 15:08
帖子: 12
系统: ubuntu14.04
送出感谢: 0 次
接收感谢: 0 次
引用:
3-2-1. 然後
sudo /etc/init.d/networking start

sudo /etc/init.d/networking restart
然後
sudo ping -c 3 192.168.0.11
把結果複製貼上來

代码:
tchj@tchj-Precision-T1700:~$ sudo gedit /etc/network/interfaces

(gedit:2270): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(gedit:2270): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
tchj@tchj-Precision-T1700:~$ sudo /etc/init.d/networking start
tchj@tchj-Precision-T1700:~$ sudo ping -c 3 192.168.0.11
connect: Network is unreachable
tchj@tchj-Precision-T1700:~$

我的路由器是FAST FS24,看了别人说的,好像是192.168.1.1。
你让我输入的ping -c 3 192.168.0.11 后面两个1中间有空格吗?


页首
 用户资料  
 
15 楼 
 文章标题 : Re: 新手求助
帖子发表于 : 2016-04-14 11:40 

注册: 2009-08-04 16:33
帖子: 16893
送出感谢: 21
接收感谢: 1827
引用:
sudo gedit /etc/network/interfaces
(gedit:2270): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:2270): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

1. 因為你使用 sudo 所以才出現許多錯誤訊息
1-1. 使用 按下 ctrl + alt + F2
輸入 gksudo gedit /etc/network/interfaces
才不會出現錯誤訊息
1-2. 第一次使用 gksudo 需要先安裝 gksu 套件 (來自 universe 套件庫)
引用:
sudo /etc/init.d/networking start

1-3. 沒有出現任何文字回應 ?
不正常
1-4. 試試 先 1-4-1 再 1-4-2
1-4-1. sudo service networking start

sudo service networking restart
1-4-2. sudo service network-manager restart

sudo service network-manager restart
有任何文字回應 複製貼上來
引用:
你让我输入的ping -c 3 192.168.0.11 后面两个1中间有空格吗?

1-5. 不是 两个1
是 10 11 12 的 11
1-5-1. 這個 192.168.0.11 單純是設定你的 有線網卡 eth0 網址 跟 路由器 無關
引用:
我的路由器是FAST FS24,看了别人说的,好像是192.168.1.1

2. gksudo gedit /etc/network/interfaces
改回
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.11
netmask 255.255.255.0
gateway 192.168.1.1
2-1. 然後
2-1-1. sudo service networking start

sudo service networking restart
2-1-2. sudo service network-manager start

sudo service network-manager restart
有任何文字回應 複製貼上來
2-1-3. sudo ifconfig eth0
把結果複製貼上來
2-2. 如果以上都成功
2-2-1. ping -c 3 192.168.1.x # 其中的 x 以 2-1-3 顯示出來的 eth0 IP 取代 正常的話是 11
2-2-1. ping -c 3 192.168.1.1
把結果複製貼上來


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 23 篇帖子 ]  前往页数 1, 2  下一页

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 0 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译