wicd - 起動後に接続がありません。手動で再起動する必要がありますか?

wicd - 起動後に接続がありません。手動で再起動する必要がありますか?

バージョン1.7.1_pre20120127とPython 2.7.2を使用しています。

[U] net-misc/wicd
     Available versions:  1.7.0 (~)1.7.0-r1 1.7.1_beta2-r4 (~)1.7.1_pre20111210-r1 1.7.1_pre20120127 (~)1.7.1_pre20120127-r1 (~)1.7.1 (~)1.7.1-r1 {X ambiance +gtk ioctl libnotify mac4lin ncurses nls +pm-utils}
     Installed versions:  1.7.1_pre20120127(01:42:42 PM 02/29/2012)(X gtk libnotify ncurses nls pm-utils -ioctl -mac4lin)
     Homepage:            http://wicd.sourceforge.net/
     Description:         A lightweight wired and wireless network manager for Linux

ランレベルにwicdを追加すると、defaults起動後は常にルートパスワードを要求されます。しかし、これをランレベルに追加するとboot(有線および無線)接続はありません。

2012/02/29 21:13:36 :: Using wired interface...eth0
2012/02/29 21:13:41 :: Autoconnecting...
2012/02/29 21:13:41 :: Attempting to autoconnect with wired interface...
2012/02/29 21:13:41 :: Putting interface down
2012/02/29 21:13:41 :: Releasing DHCP leases...
2012/02/29 21:13:41 :: Setting false IP...
2012/02/29 21:13:41 :: Flushing the routing table...
2012/02/29 21:13:41 :: Putting interface up...
2012/02/29 21:13:44 :: Running DHCP with hostname gentoo
2012/02/29 21:13:44 :: dhcpcd[2699]: version 5.2.12 starting
2012/02/29 21:13:44 ::
2012/02/29 21:13:44 :: /lib/dhcpcd/dhcpcd-hooks/20-resolv.conf: line 64: /etc/resolv.conf: Permission denied
2012/02/29 21:13:44 ::
2012/02/29 21:13:44 :: chmod: changing permissions of `/etc/resolv.conf': Operation not permitted
2012/02/29 21:13:44 ::
2012/02/29 21:13:44 :: dhcpcd[2699]: eth0: broadcasting for a lease
2012/02/29 21:13:44 ::
2012/02/29 21:13:44 :: dhcpcd[2699]: eth0: offered 192.168.15.36 from 192.168.15.1
2012/02/29 21:13:44 ::
2012/02/29 21:13:44 :: dhcpcd[2699]: eth0: acknowledged 192.168.15.36 from 192.168.15.1
2012/02/29 21:13:44 ::
2012/02/29 21:13:44 :: dhcpcd[2699]: eth0: checking for 192.168.15.36
2012/02/29 21:13:44 ::
2012/02/29 14:13:48 :: dhcpcd[2699]: eth0: leased 192.168.15.36 for 600 seconds
2012/02/29 14:13:48 ::
2012/02/29 14:13:48 :: /lib/dhcpcd/dhcpcd-hooks/20-resolv.conf: line 64: /etc/resolv.conf: Permission denied
2012/02/29 14:13:48 ::
2012/02/29 14:13:48 :: chmod: changing permissions of `/etc/resolv.conf': Operation not permitted
2012/02/29 14:13:48 ::
2012/02/29 14:13:48 :: dhcpcd[2699]: forked to background, child pid 2769
2012/02/29 14:13:48 ::
2012/02/29 14:13:48 ::
2012/02/29 14:13:48 :: DHCP connection successful
2012/02/29 14:13:48 :: Connecting thread exiting.
2012/02/29 14:13:49 :: No wired connection present, attempting to autoconnect to wireless network 

変更できないとマークされているため、「許可拒否」エラーが表示されます/etc/resolv.conf。最後の行に注意してください。

以下は、wicdを手動で再起動したときのログです。

2012/02/29 14:15:37 :: Using wired interface...eth0
2012/02/29 14:15:43 :: Autoconnecting...
2012/02/29 14:15:43 :: Putting interface downAttempting to autoconnect with wired interface...
2012/02/29 14:15:43 ::
2012/02/29 14:15:43 :: Releasing DHCP leases...
2012/02/29 14:15:43 :: Setting false IP...
2012/02/29 14:15:43 :: Flushing the routing table...
2012/02/29 14:15:43 :: Putting interface up...
2012/02/29 14:15:45 :: Running DHCP with hostname gentoo
2012/02/29 14:15:45 :: dhcpcd[3471]: version 5.2.12 starting
2012/02/29 14:15:45 ::
2012/02/29 14:15:45 :: /lib/dhcpcd/dhcpcd-hooks/20-resolv.conf: line 64: /etc/resolv.conf: Permission denied
2012/02/29 14:15:45 ::
2012/02/29 14:15:45 :: chmod: changing permissions of `/etc/resolv.conf': Operation not permitted
2012/02/29 14:15:45 ::
2012/02/29 14:15:45 :: dhcpcd[3471]: eth0: broadcasting for a lease
2012/02/29 14:15:45 ::
2012/02/29 14:15:50 :: dhcpcd[3471]: eth0: offered 192.168.15.36 from 192.168.15.1
2012/02/29 14:15:50 ::
2012/02/29 14:15:50 :: dhcpcd[3471]: eth0: acknowledged 192.168.15.36 from 192.168.15.1
2012/02/29 14:15:50 ::
2012/02/29 14:15:50 :: dhcpcd[3471]: eth0: checking for 192.168.15.36
2012/02/29 14:15:50 ::
2012/02/29 14:15:56 :: dhcpcd[3471]: eth0: leased 192.168.15.36 for 600 seconds
2012/02/29 14:15:56 ::
2012/02/29 14:15:56 :: /lib/dhcpcd/dhcpcd-hooks/20-resolv.conf: line 64: /etc/resolv.conf: Permission denied
2012/02/29 14:15:56 ::
2012/02/29 14:15:56 :: chmod: changing permissions of `/etc/resolv.conf': Operation not permitted
2012/02/29 14:15:56 ::
2012/02/29 14:15:56 :: dhcpcd[3471]: forked to background, child pid 3502
2012/02/29 14:15:56 ::
2012/02/29 14:15:56 ::
2012/02/29 14:15:56 :: DHCP connection successful
2012/02/29 14:15:56 :: Connecting thread exiting.
2012/02/29 14:16:00 :: Sending connection attempt result success

この質問は次のようになります。https://bbs.archlinux.org/viewtopic.php?id=121589ntpdateしかし、ハードウェアの時計は正確で、関連するスクリプトを見つけることができません/etc/wicd/scripts/postconnect/

どんなアイデアがありますか?


アップロード日: 3月 2日 金曜日 16:36:12 ICT 2012

dhcpcdwpa_supplicantランレベルから削除されましたdefault

gentoo ~ # rc-update -v show | grep dhcpcd
               dhcpcd |                                 
gentoo ~ # rc-update -v show | grep wpa
       wpa_supplicant |              

net.eth0削除されました:

gentoo ~ # rc-update -v show | grep eth0
             net.eth0 |            

カイル・ジョーンズに返信:

構成がハードウェア時計の設定と一致しないことを確認するには、次のようにします。

date; /sbin/hwclock --show
# date; hwclock --show
Sun Mar  4 11:41:53 ICT 2012
Sun 04 Mar 2012 11:41:54 AM ICT  -0.697282 seconds

# grep -v ^# /etc/conf.d/hwclock | sed '/^[ \t]*$/d'
clock="UTC"
clock_systohc="NO"
clock_hctosys="NO"
clock_args=""

更新済み火曜日3月6日09:49:14 ICT 2012

現在のログには「成功」が表示されますが、wicdどのネットワークにも接続できません。

Putting interface up...
Running DHCP with hostname gentoo
dhcpcd[5063]: version 5.2.12 starting

dhcpcd[5063]: eth0: broadcasting for a lease

dhcpcd[5063]: eth0: offered 192.168.15.36 from 192.168.15.1

dhcpcd[5063]: eth0: acknowledged 192.168.15.36 from 192.168.15.1

dhcpcd[5063]: eth0: checking for 192.168.15.36

dhcpcd[5063]: eth0: leased 192.168.15.36 for 600 seconds

dhcpcd[5063]: forked to background, child pid 5094


DHCP connection successful
Connecting thread exiting.
Sending connection attempt result success

wicd-gtk「未接続」とeth0IPなしの表示:

eth0      Link encap:Ethernet  HWaddr 00:13:a9:4f:84:44  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1860 errors:0 dropped:2 overruns:0 frame:0
          TX packets:301 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:205470 (200.6 KiB)  TX bytes:34017 (33.2 KiB)
          Interrupt:16 

ベストアンサー1

ハードウェアクロックが設定されているタイムゾーン(UTCまたはローカルタイムゾーン)とLinuxシステムがそのように考えるように設定されたタイムゾーンとの間に矛盾がある可能性があります。異なる場合、hwclockシステムの初期化中にシステムクロックが誤って設定され、後でシステム時間がローカルタイムゾーンの時間と同じくらいUTCと異なることがわかった場合、NTPデーモンはシステムクロックを修正します。

構成がハードウェア時計の設定と一致しないことを確認するには、次のようにします。

date; /sbin/hwclock --show

表示された時間が数時間異なる場合は、構成がハードウェア時計の設定と一致しません。私はGentoo設定がどのように機能するのかわかりませんが、他のLinuxディストリビューションでは/ etc / sysconfig / clockを編集して時計がUTCに設定されているかどうかをハードウェアに基づいて設定または依存させるUTC=trueことができます。UTC=falseあなたのハードウェアの時計が現地時間帯に設定されていると思うのでUTC=false

おすすめ記事