grizzle33 Posted July 20, 2018 Share Posted July 20, 2018 Just looking for the right way to reset my network settings to the default settings on the first boot. I tinkered with them to death. 1 Quote Link to comment
Squid Posted July 20, 2018 Share Posted July 20, 2018 Delete /config/network.cfg on the flash drive and reboot 1 1 Quote Link to comment
grizzle33 Posted July 20, 2018 Author Share Posted July 20, 2018 3 hours ago, Squid said: Delete /config/network.cfg on the flash drive and reboot Thank you!! Quote Link to comment
casperse Posted January 10, 2020 Share Posted January 10, 2020 (edited) On 7/20/2018 at 9:17 PM, Squid said: Delete /config/network.cfg on the flash drive and reboot I just did that on v.6.8.0 and it didnt create a new file and I had to get the UI up on the console :-) And create the file again... Is there any other way to reset network settings? Edited January 10, 2020 by casperse Quote Link to comment
Squid Posted January 10, 2020 Share Posted January 10, 2020 That is exactly how you do it. Whether or not the file gets recreated until a change is made to the settings doesn't matter as unRaid will utilize its defaults in the interim. Quote Link to comment
casperse Posted January 10, 2020 Share Posted January 10, 2020 1 hour ago, Squid said: That is exactly how you do it. Whether or not the file gets recreated until a change is made to the settings doesn't matter as unRaid will utilize its defaults in the interim. Hi @Squid Ok so I would still have to go to settings and apply what would then be the default settings? I seem to have caused myself a lot of problems after my changes some dockers work and others doesn't work both are using bridge? I copied the network cfg back and rebooted unraid... in Fix Common Problems - I can see this: My network settings are the same as before pointing to my router as DNS... (I have tried to change them to above DNS same result) Should I delete the file again.... Quote Link to comment
casperse Posted January 10, 2020 Share Posted January 10, 2020 I know the error is in these settings: New network.cfg (Removed 4 NIC for pfsense VM.....) # Generated settings: IFNAME[0]="br0" BONDNAME[0]="bond0" BONDING_MIIMON[0]="100" BRNAME[0]="br0" BRSTP[0]="no" BRFD[0]="0" DESCRIPTION[0]="eth0" BONDING_MODE[0]="5" BONDNICS[0]="eth0 eth1" BRNICS[0]="bond0" PROTOCOL[0]="ipv4" USE_DHCP[0]="no" IPADDR[0]="192.168.0.6" NETMASK[0]="255.255.255.0" GATEWAY[0]="192.168.0.1" DNS_SERVER1="192.168.0.1" USE_DHCP6[0]="yes" DHCP6_KEEPRESOLV="no" IFNAME[1]="br4" BONDNAME[1]="bond4" BONDNICS[1]="eth4" BONDING_MODE[1]="1" BONDING_MIIMON[1]="100" BRNAME[1]="br4" BRNICS[1]="bond4" BRSTP[1]="no" BRFD[1]="0" PROTOCOL[1]="ipv4" USE_DHCP[1]="no" IPADDR[1]="192.168.0.13" NETMASK[1]="255.255.255.0" GATEWAY[1]="192.168.0.1" SYSNICS="2" OLD ONE: # Generated settings: IFNAME[0]="br0" BONDNAME[0]="bond0" BONDING_MIIMON[0]="100" BRNAME[0]="br0" BRSTP[0]="no" BRFD[0]="0" BONDING_MODE[0]="5" BONDNICS[0]="eth0 eth1 eth2 eth3" BRNICS[0]="bond0" DESCRIPTION[0]="eth0" PROTOCOL[0]="ipv4" USE_DHCP[0]="no" IPADDR[0]="192.168.0.6" NETMASK[0]="255.255.255.0" GATEWAY[0]="192.168.0.1" DNS_SERVER1="192.168.0.1" USE_DHCP6[0]="yes" DHCP6_KEEPRESOLV="no" IFNAME[1]="br4" BONDNAME[1]="bond4" BONDNICS[1]="eth4 eth5" BONDING_MODE[1]="1" BONDING_MIIMON[1]="100" BRNAME[1]="br4" BRNICS[1]="bond4" BRSTP[1]="no" BRFD[1]="0" PROTOCOL[1]="ipv4" USE_DHCP[1]="no" IPADDR[1]="192.168.0.13" NETMASK[1]="255.255.255.0" GATEWAY[1]="192.168.0.1" SYSNICS="2" Unraid server without Network is like a car without wheels :-) Quote Link to comment
Squid Posted January 10, 2020 Share Posted January 10, 2020 There's also a network-routes file or similiarly named within the config folder you can also delete. But, if you didn't reboot then nothing changes... Quote Link to comment
trurl Posted January 10, 2020 Share Posted January 10, 2020 On 7/20/2018 at 3:17 PM, Squid said: Delete /config/network.cfg on the flash drive and reboot This is exactly how you do it, but you need to realize that the default is to use DHCP. So if you were trying to use some static IP to access your server then that would probably explain why you couldn't get to it. Quote Link to comment
casperse Posted January 10, 2020 Share Posted January 10, 2020 18 minutes ago, Squid said: There's also a network-routes file or similiarly named within the config folder you can also delete. But, if you didn't reboot then nothing changes... I am on my 11 reboot I have traced all my latest changes and are reversing them all.... Following the video guide I disabled the 4 NIC by adding this code: vfio-pci.ids=8086:10e8 And I disabled the: IOMMU ACS Override to find the correct pci id (Would this destroy my dockers internet connections?) I then replaced the files with the old ones on the flash drive network.cfg network-rules.cfg and rebooted same problem And I keep getting the DNS error? must be some routing missing? Quote Link to comment
trurl Posted January 10, 2020 Share Posted January 10, 2020 15 minutes ago, casperse said: rebooted same problem So have you tried default settings again On 7/20/2018 at 3:17 PM, Squid said: Delete /config/network.cfg on the flash drive and reboot with the new information I gave? 37 minutes ago, trurl said: you need to realize that the default is to use DHCP. So if you were trying to use some static IP to access your server then that would probably explain why you couldn't get to it. Quote Link to comment
casperse Posted January 10, 2020 Share Posted January 10, 2020 Ok after many more reboots - and some patience waiting for all the dockers to startup I now finally have a working network (And I will never touch it again! 😊) Got the 4 NIC disabled with the "blue text" and deleted both files again. I then did a static IP again (I normally have DHCP to MAC address) Doesn't make much sense because I could go to the UI every time accessing the fixed IP but my Dockers would just not work and now they do... Thanks for your input! Deleting everything is still the key... Quote Link to comment
Joseph Posted April 2, 2021 Share Posted April 2, 2021 On 1/10/2020 at 4:30 PM, casperse said: Deleting everything is still the key... Profound truth! 1 Quote Link to comment
yogy Posted April 4, 2021 Share Posted April 4, 2021 (edited) I'm gonna ask here since search on the forum didn't bring anything related to my question. I'm on v6.9.1 stable Is it still the correct way to reset pci network card and add this command "vfio-pci.ids=8086:105e" to syslinux config file and then reboot the server so changes can take effect. This is the network card with 2 eth NICs IOMMU group 47:[8086:105e] 01:00.0 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) (rev 06) IOMMU group 48:[8086:105e] 01:00.1 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) (rev 06) They are both market as "currently in use by Unraid" and I cannot BIND SELECTED TO VFIO AT BOOT. I would like to use this network card assigned to VM passthrough. If my assumption is correct, does this command need to stay in syslinux config permanently. EDIT: Didn't do my search homework thoroughly. I found the solution in this post bellow Spoiler Edited April 5, 2021 by yogy Quote Link to comment
MDHMatt Posted April 4, 2021 Share Posted April 4, 2021 11 minutes ago, yogy said: I'm gonna ask here since search on the forum didn't bring anything related to my question. I'm on v6.9.1 stable Is it still the correct way to reset pci network card and add this command "vfio-pci.ids=8086:105e" to syslinux config file and then reboot the server so changes can take effect. This is the network card with 2 eth NICs IOMMU group 47:[8086:105e] 01:00.0 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) (rev 06) IOMMU group 48:[8086:105e] 01:00.1 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) (rev 06) They are both market as "currently in use by Unraid" and I cannot BIND SELECTED TO VFIO AT BOOT. I would like to use this network card assigned to VM passthrough. If my assumption is correct, does this command need to stay in syslinux config permanently. just connect to it via a network bridge, any particular reason needing iit as a direct passthrough Quote Link to comment
yogy Posted April 4, 2021 Share Posted April 4, 2021 Yes, I'm doing some tests with OPNsense and XPEnology VMs and would like to passthrough the card with physical NICs (don't want to use virtual, since I have the network card I can use) Quote Link to comment
DuneJeeper Posted April 1, 2022 Share Posted April 1, 2022 I moved my array from an HPE microserver to an r710 and I assigned the r710 the same IP as I'd assigned the HPE. Everything is working fine and is accessible via LAN but I can't access anything from the net. Would deleting the network.cfg file fix this? Could you look at my settings and suggest anything? Thank you! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.