home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.slackware      I think its the one without Selinux crap      87,272 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 86,454 of 87,272   
   RinaldiJ to Aelius Gallus   
   Re: Getting the IP address at startup   
   09 Oct 23 07:21:31   
   
   From: rinaldij@nunya.com   
      
   On 10/9/23 06:25, Aelius Gallus wrote:   
   > Chris Elvidge  wrote:   
   >>   
   >> Investigate /etc/rc.d/rc.inet1.conf   
   >> There are sections there for eth0, eth1, eth2 etc   
   >> USE_DHCP[X] should be 'yes' for any interface that needs dhcp   
   >>   
   >> 'ip a' (as root) will give you a list of interfaces on the machine.   
   >>   
   >>   
   > Added the following lines to /etc/rc.d/rc.inet1.conf:   
   >   
   > # IPv4 config options for eth126:   
   > IPADDRS[126]=""   
   > USE_DHCP[126]="yes"   
   > # IPv6 config options for eth126:   
   > IP6ADDRS[126]=""   
   > USE_SLAAC[126]=""   
   > USE_DHCP6[126]=""   
   > # Generic options for eth126:   
   > DHCP_HOSTNAME[126]=""   
   >   
   > (Please see above follow-ups for the value eth126, instead of former eth2)   
   > After restart, had to use, as before, the dhcpcd command to get an   
   > IP address.   
   >   
   >   
   Curious.  What does ifconfig tell you?   
      
   And cat /etc/rules.d/70-persistent-net.rules   
      
   Rinaldi   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca