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,462 of 87,272   
   Henrik Carlqvist to Aelius Gallus   
   Re: Getting the IP address at startup   
   10 Oct 23 08:54:17   
   
   From: Henrik.Carlqvist@deadspam.com   
      
   On Tue, 10 Oct 2023 02:35:49 +0000, Aelius Gallus wrote:   
   > In fact I changed the name of the file to   
   > "Original.70-persistent-net.rules", and kept it in the same   
   > directory, just in case.   
      
   As all the files in that directory is run in alphabetical order and   
   "Original" comes after "70" the contents of the original file overwrote   
   the contents of your new file modified for your new hardware. This also   
   explains why your eth0 got renamed to something else when Original wanted   
   to use eth0 for another interface.   
      
   > After your question I removed the file and left   
   > the directory completely empty, and restarted the laptop. To my   
   > surprise, the laptop got its IP address and eth0 was back again   
      
   Without any 70-persistent-net.rules a new file will be created at next   
   reboot only listing interfaces in your current hardware setup. The first   
   ethernet interface found will be named eth0.   
      
   However, if you before also had some other more or less custom files in /   
   etc/udev/rules.d not related to networking you might want to keep them. I   
   usually place custom files there which allow me to access different   
   hardware as digital cameras and GPS navigators as a normal user.   
      
   regards Henrik   
      
   --- 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