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,457 of 87,272   
   Chris Elvidge to Aelius Gallus   
   Re: Getting the IP address at startup   
   09 Oct 23 15:29:46   
   
   From: chris@mshome.net   
      
   On 09/10/2023 12: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.   
   >   
   >   
      
   rc.inet1.conf has a max interfaces number   
   In rc.inet1 it defaults to 6 -- 126 is way outside this limit   
   It's not really maximum interfaces; eth0 to eth5 are the only ones   
   allowed by default   
      
   What does 'ip a | grep ^[0-6]' say?   
      
   Are you sure you deleted /etc/udev/rules.d/70-persistent-net.rules?   
      
   --   
   Chris Elvidge, England   
   MY BUTT DOES NOT DESERVE A WEBSITE   
      
   --- 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