Changes between Version 10 and Version 11 of TipAndDoc/network/alias


Ignore:
Timestamp:
Jun 8, 2009 4:14:03 AM (15 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/network/alias

    v10 v11  
    265265Failed to bring up eth0:0. 
    266266}}} 
     267 
     268 * boot時は特にエラー表示はないが、assignされない 
     269 
     270 * 対応 
     271   * dhcp3-clientの代わりにdhcpcdを入れる対策はHardyでは効果なし 
     272   * https://bugs.launchpad.net/ubuntu/+source/dhcp3/+bug/351378/comments/12 
     273     1. install dhcp3-client dummy package 
     274       * sudo dpkg -i dhcp3-client-dummy_3.0.6.dfsg-1ubuntu9_i386.deb 
     275{{{ 
     276(Reading database ... 15336 files and directories currently installed.) 
     277Preparing to replace dhcp3-client 3.0.6.dfsg-1ubuntu9 (using dhcp3-client-dummy_3.0.6.dfsg-1ubuntu9_i386.deb) ... 
     278Unpacking replacement dhcp3-client ... 
     279dpkg: warning - unable to delete old directory `/var/lib/dhcp3': Directory not empty 
     280dpkg: warning - unable to delete old directory `/etc/dhcp3/dhclient-enter-hooks.d': Directory not empty 
     281Setting up dhcp3-client (3.0.6.dfsg-1ubuntu9) ... 
     282}}} 
     283     1. hold dhcp3-client dummy package 
     284       * sudo aptitude hold dhcp3-client 
     285{{{ 
     286The following packages have been kept back: 
     287  dhcp3-client 
     2880 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 
     289}}} 
     290     1. install udhcpc package 
     291       * sudo aptitude install -R udhcpc 
     292     1. add alias to /etc/network/interfaces 
     293       * hostname, client-id は必須なのか不明。無くても手元では動作した 
     294{{{ 
     295auto eth0 
     296iface eth0 inet dhcp 
     297 
     298auto eth0:0 
     299iface eth0:0 inet dhcp 
     300}}} 
     301     1. restart NICs 
     302       * sudo /etc/init.d/networking restart 
     303{{{ 
     304 * Reconfiguring network interfaces... 
     305udhcpc (v0.9.9-pre) started 
     306Sending discover... 
     307Sending select for 192.168.40.146... 
     308Lease of 192.168.40.146 obtained, lease time 1800 
     309Resetting default routes 
     310adding dns 192.168.40.2 
     311SIOCSIFFLAGS: Cannot assign requested address 
     312udhcpc (v0.9.9-pre) started 
     313SIOCSIFFLAGS: Cannot assign requested address 
     314Sending discover... 
     315Sending select for 192.168.40.144... 
     316Lease of 192.168.40.144 obtained, lease time 1800 
     317Resetting default routes 
     318adding dns 192.168.40.2 
     319                                                                         [ OK ] 
     320}}}