Jump to content

So I was making a FreeNas Server out of a 2tb hard drive and an old Dell cs24-sc. It has two l5420s, 24gb of RAM (I got three of these for free so I just put all 6 sticks inside). The issue is it doesn't recognize my network. Do I need to not have it plugged into a switch? 

15277419005034023542494675810493.jpg

15277419116852042296666269424157.jpg

Link to comment
https://linustechtips.com/topic/932662-freenas-server-not-recognizing-ethernet/
Share on other sites

Link to post
Share on other sites

If you go into the shell and type ifconfig do you see an interface with a status of active? You need to assign it an IP from the FreeNAS CLI. Option 1.

Link to post
Share on other sites

8 minutes ago, Windows7ge said:

If you go into the shell and type ifconfig do you see an interface with a status of active? You need to assign it an IP from the FreeNAS CLI. Option 1.

I am not much of a server person, but this is what came up. I hope none of this will get me DDoS'ed

15277427055616181457807413164374.jpg

Link to post
Share on other sites

2 minutes ago, BlindGuyPCs said:

I hope none of this will get me DDoS'ed

It won't. Unless you setup your Public IP somewhere. Which it doesn't appear you did.

 

Interface em0 says no carrier which basically says it can't tell that a cable is plugged in. Typing exit should bring you back to the FreeNAS menu.

 

Are their more than one Ethernet port? You can check with "ifconfig em1" if it shows you an interface then you likely have em2 & em3 because the picture of you server looks like a quad port built in NIC.

Link to post
Share on other sites

10 minutes ago, Windows7ge said:

It won't. Unless you setup your Public IP somewhere. Which it doesn't appear you did.

 

Interface em0 says no carrier which basically says it can't tell that a cable is plugged in. Typing exit should bring you back to the FreeNAS menu.

 

Are their more than one Ethernet port? You can check with "ifconfig em1" if it shows you an interface then you likely have em2 & em3 because the picture of you server looks like a quad port built in NIC.

I have plugged it into the blue ethernet port. Typing in ifconfig em0 is the only option that shows anything. I have tried all three ports and nothing has changed

 

It has a 3 port built in NIC

Link to post
Share on other sites

8 minutes ago, BlindGuyPCs said:

I have plugged it into the blue ethernet port. Typing in ifconfig em0 is the only option that shows anything. I have tried all three ports and nothing has changed

 

It has a 3 port built in NIC

Hm. Then it might have 2 network ports and an IPMI port. Try this. Go back to the FreeNAS menu and type 1. Its been a while since I set this up but somewhere in there it should list the available ports. Does it only show you em0? Did you try configuring it at all yet? If I recall DHCP is disabled by default when setting up FreeNAS so you have to configure the interface manually.

Link to post
Share on other sites

4 minutes ago, Windows7ge said:

Hm. Then it might have 2 network ports and an IPMI port. Try this. Go back to the FreeNAS menu and type 1. Its been a while since I set this up but somewhere in there it should list the available ports. Does it only show you em0? Did you try configuring it at all yet? If I recall DHCP is disabled by default when setting up FreeNAS so you have to configure the interface manually.

Yep, it only shows em0. I have not tried setting it up, as I have not much clues as to what to do.

Link to post
Share on other sites

8 minutes ago, BlindGuyPCs said:

Yep, it only shows em0. I have not tried setting it up, as I have not much clues as to what to do.

So you're new to freeNAS? Are you familiar with assigning static IPs?

Link to post
Share on other sites

1 minute ago, Windows7ge said:

So you're new to freeNAS? Are you familiar with assigning static IPs?

Yes I am new to freenas. No I am not familiar. Is it just looking at all the IPs on my network using something like ANGRYIPSCANNER and choosing one that isn't listed by any of the devices?

Link to post
Share on other sites

Just now, BlindGuyPCs said:

Yes I am new to freenas. No I am not familiar. Is it just looking at all the IPs on my network using something like ANGRYIPSCANNER and choosing one that isn't listed by any of the devices?

You're in for quite the learning experience then. When assigning static addresses I personally like to use the upper range of addresses. So let's say your network is 192.168.0.0/24 I'd use 192.168.0.254/24. Then I'd remove that address from the DHCP pool in the router. This makes organization easier and eliminates network address conflicts.

 

If you need a more extensive guide you can either google it or wait until tomorrow. I need sleep. I'll check back tomorrow and give you a picture guide if you want it.

Link to post
Share on other sites

45 minutes ago, Windows7ge said:

You're in for quite the learning experience then. When assigning static addresses I personally like to use the upper range of addresses. So let's say your network is 192.168.0.0/24 I'd use 192.168.0.254/24. Then I'd remove that address from the DHCP pool in the router. This makes organization easier and eliminates network address conflicts.

 

If you need a more extensive guide you can either google it or wait until tomorrow. I need sleep. I'll check back tomorrow and give you a picture guide if you want it.

Thanks for the help! yes please could you send a guide? Most online are horrible.

Link to post
Share on other sites

8 hours ago, BlindGuyPCs said:

Thanks for the help! yes please could you send a guide? Most online are horrible.

Before going to sleep I tried finding one quick and yeah I couldn't find one that was step by step explanatory.

Your menu has the potential to differ as my build is version FreeNAS-11.0-U3 (c5dcf4416)

I was going to give you pictures...but technical difficulties. This is command line so pictures shouldn't be all too necessary.

 

Step 1: Press 1 > enter:

Step 2: Select the interface to use. In your case that should be em0

Step 3: It'll ask you a series of questions:

  • Reset network configuration? (y/n) Answer: n
  • Configure interface for DHCP? (y/n) Answer: n
  • Configure IPv4? (y/n) Answer: y
    • Interface name: [GIVE IT A NAME]
      • Several input formats are supported
      • Example 1 CIDR Notation:
      •     192.168.1.1/24
      • Example 2 IP and Netmask seperate:
      •     IP: 192.168.1.1
      •     Netmask: 255.255.255.0, /24 or 24
    • IPv4 Address: [Check with your network but an example would be 192.168.0.254/24]
    • Saving interface configuration: Ok
    • Configure IPv6? (y/n) [Entirely optional, it's not needed but if you know how you can set this up]
    • Restarting network - UP

It should then bring you back to the FreeNAS menu. If it worked it should show you:

The web user interface is at:

 

http://[the IP you used]

 

You can check if the interface status is up by going back into shell and using ifconfig em0 if the status says active and shows you the IP/subnet you assigned then the interface is UP and you should be able to navigate to the WebUI through a web browser.

Link to post
Share on other sites

5 hours ago, Windows7ge said:

Before going to sleep I tried finding one quick and yeah I couldn't find one that was step by step explanatory.

Your menu has the potential to differ as my build is version FreeNAS-11.0-U3 (c5dcf4416)

I was going to give you pictures...but technical difficulties. This is command line so pictures shouldn't be all too necessary.

 

Step 1: Press 1 > enter:

Step 2: Select the interface to use. In your case that should be em0

Step 3: It'll ask you a series of questions:

  • Reset network configuration? (y/n) Answer: n
  • Configure interface for DHCP? (y/n) Answer: n
  • Configure IPv4? (y/n) Answer: y
    • Interface name: [GIVE IT A NAME]
      • Several input formats are supported
      • Example 1 CIDR Notation:
      •     192.168.1.1/24
      • Example 2 IP and Netmask seperate:
      •     IP: 192.168.1.1
      •     Netmask: 255.255.255.0, /24 or 24
    • IPv4 Address: [Check with your network but an example would be 192.168.0.254/24]
    • Saving interface configuration: Ok
    • Configure IPv6? (y/n) [Entirely optional, it's not needed but if you know how you can set this up]
    • Restarting network - UP

It should then bring you back to the FreeNAS menu. If it worked it should show you:

The web user interface is at:

 

http://[the IP you used]

 

You can check if the interface status is up by going back into shell and using ifconfig em0 if the status says active and shows you the IP/subnet you assigned then the interface is UP and you should be able to navigate to the WebUI through a web browser.

Sorry to bug you even more, but it says the  status is (finally) active, but I can't seem to access it from neither my phone nor my computer.

Link to post
Share on other sites

26 minutes ago, BlindGuyPCs said:

Sorry to bug you even more, but it says the  status is (finally) active, but I can't seem to access it from neither my phone nor my computer.

Are you able to ping the address from your computer?

Link to post
Share on other sites

7 minutes ago, BlindGuyPCs said:

Trying it with windows, it just times ut. Angry IP Scanner just doesnt show anything

Are you sure you assigned an IP/Subnet that matches your network? If not you won't be able to ping it.

Link to post
Share on other sites

3 minutes ago, BlindGuyPCs said:

NEVERMIND ITS NOW WORKING! Thanks for all the help!

Good to know. Good luck. FreeNAS has a bit of a learning curve, just reference the guide when you don't understand something.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×