July 20, 20187 yr 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.
July 20, 20187 yr Author 3 hours ago, Squid said: Delete /config/network.cfg on the flash drive and reboot Thank you!!
January 10, 20206 yr 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, 20206 yr by casperse
January 10, 20206 yr 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.
January 10, 20206 yr 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....
January 10, 20206 yr 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 :-)
January 10, 20206 yr 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...
January 10, 20206 yr Community Expert 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.
January 10, 20206 yr 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?
January 10, 20206 yr Community Expert 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.
January 10, 20206 yr 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...
April 2, 20215 yr On 1/10/2020 at 4:30 PM, casperse said: Deleting everything is still the key... Profound truth!
April 4, 20215 yr 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, 20215 yr by yogy
April 4, 20215 yr 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
April 4, 20215 yr 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)
April 1, 20224 yr 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!
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.