Jump to content
OMRON Forums

Recommended Posts

Posted

I was wondering how you guys add the range of IP addresses to the hosts file at boot time. I would like to modify that script to add another range or change the range that is used to fit our network structure.

 

Thanks,

Scott Sheline

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted

In the script file /.readonly/etc/rc2.d/S94KillGDM

 

We do

 

for i in {0..254}

do

echo "192.168.0.$i IP192_168_0_$i" >> /etc/hosts

done

 

 

I was wondering how you guys add the range of IP addresses to the hosts file at boot time. I would like to modify that script to add another range or change the range that is used to fit our network structure.

 

Thanks,

Scott Sheline

 

 

Guest
This topic is now closed to further replies.

×
×
  • Create New...