Jump to content

So today I booted up my R710 with Ubuntu Server on it and I needed to change my ports for my Gmod server, I then typed in ifconfig to get it and it didn't pop up at all! I have no idea why, very very stressed out.

 

Thanks,

Liam

 

 

image.jpg

Link to comment
Share on other sites

Link to post
Share on other sites

The problem is not that you are missing IPv4, but that you are missing other network interface(s). You only have loopback there, which is also important, but you should have other interface(s) too. Check BIOS if the adapters are enabled and cables are properly connected (usually lights should be visible near the port, if link is up).

 

@koen__2000 It won't help, if he doesn't have network interface available.

HAL9000: AMD Ryzen 9 3900x | Noctua NH-D15 chromax.black | 32 GB Corsair Vengeance LPX DDR4 3200 MHz | Asus X570 Prime Pro | ASUS TUF 3080 Ti | 1 TB Samsung 970 Evo Plus + 1 TB Crucial MX500 + 6 TB WD RED | Corsair HX1000 | be quiet Pure Base 500DX | LG 34UM95 34" 3440x1440

Hydrogen server: Intel i3-10100 | Cryorig M9i | 64 GB Crucial Ballistix 3200MHz DDR4 | Gigabyte B560M-DS3H | 33 TB of storage | Fractal Design Define R5 | unRAID 6.9.2

Carbon server: Fujitsu PRIMERGY RX100 S7p | Xeon E3-1230 v2 | 16 GB DDR3 ECC | 60 GB Corsair SSD & 250 GB Samsung 850 Pro | Intel i340-T4 | ESXi 6.5.1

Big Mac cluster: 2x Raspberry Pi 2 Model B | 1x Raspberry Pi 3 Model B | 2x Raspberry Pi 3 Model B+

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, jj9987 said:

The problem is not that you are missing IPv4, but that you are missing other network interface(s). You only have loopback there, which is also important, but you should have other interface(s) too. Check BIOS if the adapters are enabled and cables are properly connected (usually lights should be visible near the port, if link is up).

 

@koen__2000 It won't help, if he doesn't have network interface available.

They are all connected, but the thing is I messed up my interfaces file, is there a way to restore it back to what it was before?

Link to comment
Share on other sites

Link to post
Share on other sites

18 minutes ago, lljsullins said:

They are all connected, but the thing is I messed up my interfaces file, is there a way to restore it back to what it was before?

You need to know the interfaces names, then yes. I do not have any Ubuntu machines at hand right now, but "ifconfig -a" and/or "cat /proc/net/dev" may help you finding them.

# The loopback network interface
auto lo eth0
iface lo inet loopback

# The primary network interface
iface eth0 inet dhcp

This is default /etc/network/interfaces file. Replace eth0 with the network interface you have. Add more rows, if you have more than 1 interface.

HAL9000: AMD Ryzen 9 3900x | Noctua NH-D15 chromax.black | 32 GB Corsair Vengeance LPX DDR4 3200 MHz | Asus X570 Prime Pro | ASUS TUF 3080 Ti | 1 TB Samsung 970 Evo Plus + 1 TB Crucial MX500 + 6 TB WD RED | Corsair HX1000 | be quiet Pure Base 500DX | LG 34UM95 34" 3440x1440

Hydrogen server: Intel i3-10100 | Cryorig M9i | 64 GB Crucial Ballistix 3200MHz DDR4 | Gigabyte B560M-DS3H | 33 TB of storage | Fractal Design Define R5 | unRAID 6.9.2

Carbon server: Fujitsu PRIMERGY RX100 S7p | Xeon E3-1230 v2 | 16 GB DDR3 ECC | 60 GB Corsair SSD & 250 GB Samsung 850 Pro | Intel i340-T4 | ESXi 6.5.1

Big Mac cluster: 2x Raspberry Pi 2 Model B | 1x Raspberry Pi 3 Model B | 2x Raspberry Pi 3 Model B+

Link to comment
Share on other sites

Link to post
Share on other sites

7 minutes ago, jj9987 said:

You need to know the interfaces names, then yes. I do not have any Ubuntu machines at hand right now, but "ifconfig -a" and/or "cat /proc/net/dev" may help you finding them.


# The loopback network interface
auto lo eth0
iface lo inet loopback

# The primary network interface
iface eth0 inet dhcp
 

So I have eno1, eno2, eno3, eno4. So I would do this? 

 

iface eno1 dhcp

iface  eno2 dhcp

iface  eno3 dhcp

iface  eno4 dhcp

 

Link to comment
Share on other sites

Link to post
Share on other sites

34 minutes ago, lljsullins said:

So I have eno1, eno2, eno3, eno4. So I would do this? 

 

iface eno1 dhcp

iface  eno2 dhcp

iface  eno3 dhcp

iface  eno4 dhcp

 

You forgot the inet from between, but glad you got it fixed.

HAL9000: AMD Ryzen 9 3900x | Noctua NH-D15 chromax.black | 32 GB Corsair Vengeance LPX DDR4 3200 MHz | Asus X570 Prime Pro | ASUS TUF 3080 Ti | 1 TB Samsung 970 Evo Plus + 1 TB Crucial MX500 + 6 TB WD RED | Corsair HX1000 | be quiet Pure Base 500DX | LG 34UM95 34" 3440x1440

Hydrogen server: Intel i3-10100 | Cryorig M9i | 64 GB Crucial Ballistix 3200MHz DDR4 | Gigabyte B560M-DS3H | 33 TB of storage | Fractal Design Define R5 | unRAID 6.9.2

Carbon server: Fujitsu PRIMERGY RX100 S7p | Xeon E3-1230 v2 | 16 GB DDR3 ECC | 60 GB Corsair SSD & 250 GB Samsung 850 Pro | Intel i340-T4 | ESXi 6.5.1

Big Mac cluster: 2x Raspberry Pi 2 Model B | 1x Raspberry Pi 3 Model B | 2x Raspberry Pi 3 Model B+

Link to comment
Share on other sites

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

×