From: wshekrota@optonline.net   
      
   Arthur Hagen wrote:   
      
   > Damian Kolkowski wrote:   
   >> Hi Walt!   
   >>   
   >> On Mon, 20 Aug 2007, Walt Shekrota wrote:   
   >>   
   >>> my conf.d/net file is:   
   >>> config_eth1=( "192.168.0.33 netmask 255.255.255.0 brd 192.168.0.255"   
   >>> ) config_eth0=( "dhcp" )   
   >>> dhcp_eth0="nodns nontp nonis"   
   >>   
   >> Tray like this (dynamic):   
   >>   
   >> config_eth0=( "dhcp" )   
   >> dhcp_eth0="nodns nontp nonis"   
   >> dhcpcd_eth0="-t 5"   
   >>   
   >> or like this (static):   
   >>   
   >> config_eth0=( "192.168.0.33 netmask 255.255.255.0" )   
   >> routes_eth0=( "default gw 192.168.0.1" )   
   >>   
   >> You should not set two way of configuration static and dynamic at   
   >> once.   
   >   
   > From the above, he has both eth0 and eth1, and not just one of them. And   
   > then it's perfectly fine to have one of them use dhcp and the other not.   
   > Especially for a laptop, this would be fairly common -- you set up a   
   > static address using ethernet on your home LAN (often using a docking   
   > station), but use dhcp for wireless.   
   >   
   > What would be helpful is exactly what errors are seen where, not just   
   > saying that there's errors.   
   >   
   > Also, what's reported if doing (as root) "ifconfig eth0 up" and "ifconfig   
   > eth1 up" would be helpful (if already in "up" state, do a "down" first).   
   >   
   > Regards,   
   > --   
   > *Art   
      
   Thanks I figured it out by reading the errors several times and going to   
   those lines in the scripts. (go figure reading the error :)   
      
   /etc/conf.d/net   
   config_eth0=( "dhcp" )   
   dhcp_eth0="nodns nontp nonis"   
      
      
   /etc/init.d/net.eth0 start   
      
   * Caching service dependencies ... [ ok ]   
    * Starting eth0   
    * Bringing up eth0   
    * dhcp   
    * Running dhclient ...   
    /lib/rcscripts/sh/rc-daemon.sh: line 221: read: read error: 0: Is a   
   directory   
    /lib/rcscripts/sh/rc-daemon.sh: line 221: read: read error: 0: Is a   
   directory   
   (repeats)   
      
   so yes I have 0 as dhclient and 1 as static.   
   Problem with eth0 was /var/run contained a directory dhclient...pid instead   
   of file. Removed it and eth0 would start.   
   Problem with eth1 or the static was the old net.eth1 script was there   
   instead of a link to net.lo. Removed script created link and it is fine.   
   Something must have broken down in the upgrade.   
   Thanks for responses.   
      
   -Walt   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|