February 13, 201115 yr I have searched and read through dozens of posts and can't find a solution to this problem. Should I point out that I'm on a Mac? I've just finished a new Unraid box which is booting up Unraid 4.7. It's running a Biostar MOBO (Biostar A760G M2+) with supported onboard NIC (Realtek RTL8111C - 10/100/1000 Controller). The onboard NIC is enabled in the BIOS settings and the LAN/Option ROM boot is disabled. I reserved static IP 192.168.1.7 for the server in my router, inputting the hardware address returned for it from the ifconfig eth0 command. I changed the network.cfg file on the USB flash drive to the following settings using a Mac text editor, and saved back over the original being sure to format with Unix line breaks. # Generated network settings USE_DHCP=no IPADDR=192.168.1.7 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 ifconfig eth0 returns no ip address. ifconfig lo returns 127.0.0.1. I can't ping the tower from my Mac. ??? Please help sort this, syslog below. Thanks in advance syslog.txt
February 13, 201115 yr You'll need to reboot the server for those values you edited to take effect.. Joe L.
February 13, 201115 yr Author It's been rebooted many times since... Here's what ifconfig eth0 returns: Link encap :Ethernet HWaddr 00:30:67:0c:01:bf UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 frame:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:26 Base address:0x8000
February 13, 201115 yr I have searched and read through dozens of posts and can't find a solution to this problem. Should I point out that I'm on a Mac? I've just finished a new Unraid box which is booting up Unraid 4.7. It's running a Biostar MOBO (Biostar A760G M2+) with supported onboard NIC (Realtek RTL8111C - 10/100/1000 Controller). The onboard NIC is enabled in the BIOS settings and the LAN/Option ROM boot is disabled. I reserved static IP 192.168.1.7 for the server in my router, inputting the hardware address returned for it from the ifconfig eth0 command. I changed the network.cfg file on the USB flash drive to the following settings using a Mac text editor, and saved back over the original being sure to format with Unix line breaks. # Generated network settings USE_DHCP=no IPADDR=192.168.1.7 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 ifconfig eth0 returns no ip address. ifconfig lo returns 127.0.0.1. I can't ping the tower from my Mac. ??? Please help sort this, syslog below. Thanks in advance If you have set the IP address as reserved in the router, via the MAC address of the NIC, the server should pull that address automatically. It may be messing up in that it is trying to reserve an already reserved address (meaning it is set in both places). Set it one way or the other, not both and see if that fixes it. Bruce
February 13, 201115 yr Author Good suggestion, but no luck. I reserved the IP address in the router using the Unraid's HWaddr, and removed it from the network.cfg file (went to default settings there). Tried DHCP both on and off in the cfg. Then tried not reserving an address in the router, and setting it statically with the cfg file. No joy. Gee I thought putting the hardware together was going to be the vexing part of this process for me! Edit: I noted two lines in the bootup log: /etc/rc.d/rc.inet1.conf: line 18: /boot/config/network.cfg: No such file or directory (The network cfg is at the root level of the flash, not in a "config" dir?) /etc/rc.d/rc.inet1.conf: line 19: /var/tmp/network.cfg: No such file or directory
February 13, 201115 yr Good suggestion, but no luck. I reserved the IP address in the router using the Unraid's HWaddr, and removed it from the network.cfg file (went to default settings there). Tried DHCP both on and off in the cfg. Then tried not reserving an address in the router, and setting it statically with the cfg file. No joy. Gee I thought putting the hardware together was going to be the vexing part of this process for me! Edit: I noted two lines in the bootup log: /etc/rc.d/rc.inet1.conf: line 18: /boot/config/network.cfg: No such file or directory (The network cfg is at the root level of the flash, not in a "config" dir?) /etc/rc.d/rc.inet1.conf: line 19: /var/tmp/network.cfg: No such file or directory When you originally extracted the distribution the un-zip should have created a sub-directory named "config" and put in it the proper files. I think that you used the un-zip option to extract everything to the current (top level) directory. Re-do just that step and I think you'll be fine. (or create a "config" directory and just move the *.cfg files into it) The config folder should have in it: disk.cfg flash.cfg ident.cfg model.cfg network.cfg share.cfg
February 13, 201115 yr Author I guess that would make a big difference. Done and rebooted. But still no network. I've tried setting network.cfg to the default with DHCP=yes, and then setting it to no and specifying a fixed IP. Both these settings were tried with no address reserved by the router, and then with the IP address reserved by the router using the NIC hardware address. Nothing! I attached a new syslog, here are some eth0 portions... highlighted a missing command below. syslog.txt:502: Feb 13 12:54:30 Tower kernel: eth0: RTL8168c/8111c at 0xf0818000, 00:30:67:0c:01:bf, XID 1c4000c0 IRQ 26 syslog.txt:582: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: ifplugd 0.28 initializing. syslog.txt:583: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: Using interface eth0/00:30:67:0C:01:BF with driver <r8169> (version: 2.3LK-NAPI) syslog.txt:583: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: Using interface eth0/00:30:67:0C:01:BF with driver <r8169> (version: 2.3LK-NAPI) syslog.txt:584: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: Using detection mode: SIOCETHTOOL syslog.txt:585: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: Initialization complete, link beat detected. syslog.txt:586: Feb 13 12:54:30 Tower kernel: r8169: eth0: link up syslog.txt:587: Feb 13 12:54:30 Tower kernel: r8169: eth0: link up syslog.txt:588: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: Executing '/etc/ifplugd/ifplugd.action eth0 up'. syslog.txt:588: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: Executing '/etc/ifplugd/ifplugd.action eth0 up'. syslog.txt:589: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: client: /var/tmp/network.cfg: line 1: ??: command not found syslog.txt:590: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: Program executed successfully. Here are the contents of the flash drive.. syslog.txt
February 13, 201115 yr I guess that would make a big difference. Done and rebooted. But still no network. I've tried setting network.cfg to the default with DHCP=yes, and then setting it to no and specifying a fixed IP. Both these settings were tried with no address reserved by the router, and then with the IP address reserved by the router using the NIC hardware address. Nothing! I attached a new syslog, here are some eth0 portions... highlighted a missing command below. syslog.txt:502: Feb 13 12:54:30 Tower kernel: eth0: RTL8168c/8111c at 0xf0818000, 00:30:67:0c:01:bf, XID 1c4000c0 IRQ 26 syslog.txt:582: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: ifplugd 0.28 initializing. syslog.txt:583: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: Using interface eth0/00:30:67:0C:01:BF with driver <r8169> (version: 2.3LK-NAPI) syslog.txt:583: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: Using interface eth0/00:30:67:0C:01:BF with driver <r8169> (version: 2.3LK-NAPI) syslog.txt:584: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: Using detection mode: SIOCETHTOOL syslog.txt:585: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: Initialization complete, link beat detected. syslog.txt:586: Feb 13 12:54:30 Tower kernel: r8169: eth0: link up syslog.txt:587: Feb 13 12:54:30 Tower kernel: r8169: eth0: link up syslog.txt:588: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: Executing '/etc/ifplugd/ifplugd.action eth0 up'. syslog.txt:588: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: Executing '/etc/ifplugd/ifplugd.action eth0 up'. syslog.txt:589: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: client: /var/tmp/network.cfg: line 1: ??: command not found syslog.txt:590: Feb 13 12:54:30 Tower ifplugd(eth0)[1248]: Program executed successfully. Here are the contents of the flash drive.. That might indicate you have a network.cfg file that is not in the expected format. You probably edited it using an editor that put ms-dos carriage returns at the ends of the lines.
February 13, 201115 yr Author That might indicate you have a network.cfg file that is not in the expected format. You probably edited it using an editor that put ms-dos carriage returns at the ends of the lines. It's alive!!! Apparently the text editor is not formatting the returns correctly DESPITE being set to Unix (LF) line breaks. I copied over the original and will have to find another app to edit it if I want a fixed IP address. Thank you Joe!
Archived
This topic is now archived and is closed to further replies.