Jump to content

Ubuntu no networking

Go to solution Solved by vorticalbox,

Ok so this has be fixed and it a problem with 990fx-ud3 by gigabyte. there is some weird issue with a bios feature called IOMMU which is disabled by default. 64 bit linux cannot connect a network with this option disabled but wont boot with it enabled.

 

first disable IOMMU and install linux, open up terminal 

sudo gedit /etc/default/grub

find the line GRUB_CMDLINE_LINUX="" and change it to GRUB_CMDLINE_LINUX="iommu=soft"

sudo update-grub

reboot and disable iommu in the bios and all networking and usb ports work

SSD died and i got a new one so thought lets try ubuntu. installed fine but now there is no eth0 in the network manager. I also get network manager (waiting for network config) and swap (dev/mapper not ready or missing) errors at boot

 

ifconfig

user@Mothership:~$ ifconfig lo        Link encap:Local Loopback            inet addr:127.0.0.1  Mask:255.0.0.0           inet6 addr: ::1/128 Scope:Host           UP LOOPBACK RUNNING  MTU:65536  Metric:1           RX packets:861 errors:0 dropped:0 overruns:0 frame:0           TX packets:861 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0           RX bytes:73118 (73.1 KB)  TX bytes:73118 (73.1 KB) 
user@Mothership:~$ sudo lshw -C network   *-network DISABLED             description: Ethernet interface        product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@[member='0000matteo0000']:05:00.0        logical name: eth0        version: 06        serial: fc:aa:14:29:8c:13        size: 10Mbit/s        capacity: 1Gbit/s        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s        resources: irq:74 ioport:b000(size=256) memory:fe600000-fe600fff memory:d0000000-d0003fff 

seen these posted when people asking for help so i hope they help. 

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
https://linustechtips.com/topic/385225-ubuntu-no-networking/
Share on other sites

Link to post
Share on other sites

I can certainly offer my assistance. Might be we can get your problem squared away quickly.

 

Can you open a terminal and open up /etc/network/interfaces and see if it has commented out (#) eth0 in the file?

sudo gedit /etc/network/interfaces

If eth0 or nothing is commented out, can you try:

 sudo gedit /etc/NetworkManager/NetworkManager.conf

Is there something called "managed=false" in it?

 

EDIT

 

Just saw the edits to your post. The dev/mapper is referencing an error to encryption on a swap partition. Did you enable encryption when installing Ubuntu? If not we just have to delay or disable swapon. I haven't actually done it before but I do know of several methods we could attempt.

|  The United Empire of Earth Wants You | The Stormborn (ongoing build; 90% done)  |  Skyrim Mods Recommendations  LTT Blue Forum Theme! | Learning Russian! Blog |
|"They got a war on drugs so the police can bother me.”Tupac Shakur  | "Half of writing history is hiding the truth"Captain Malcolm Reynolds | "Museums are racist."Michelle Obama | "Slap a word like "racist" or "nazi" on it and you'll have an army at your back."MSM Logic | "A new command I give you: love one another. As I have loved you, so you must love one another"Jesus Christ | "I love the Union and the Constitution, but I would rather leave the Union with the Constitution than remain in the Union without it."Jefferson Davis |

Link to comment
https://linustechtips.com/topic/385225-ubuntu-no-networking/#findComment-5200804
Share on other sites

Link to post
Share on other sites

If you don't want to see what you're doing, you can try this:

sudo service network-manager stopsudo rm /var/lib/NetworkManager/NetworkManager.statesudo service network-manager start

But I'd recommend working with what Albatross has suggested as you can see what's going on and discover what happened, learning is cool.

Link to comment
https://linustechtips.com/topic/385225-ubuntu-no-networking/#findComment-5200827
Share on other sites

Link to post
Share on other sites

^ OP attempt this first if you haven't tried my solutions yet. No point in going through an unnecessary procedure if it can be accomplished in a more elegant fashion.

|  The United Empire of Earth Wants You | The Stormborn (ongoing build; 90% done)  |  Skyrim Mods Recommendations  LTT Blue Forum Theme! | Learning Russian! Blog |
|"They got a war on drugs so the police can bother me.”Tupac Shakur  | "Half of writing history is hiding the truth"Captain Malcolm Reynolds | "Museums are racist."Michelle Obama | "Slap a word like "racist" or "nazi" on it and you'll have an army at your back."MSM Logic | "A new command I give you: love one another. As I have loved you, so you must love one another"Jesus Christ | "I love the Union and the Constitution, but I would rather leave the Union with the Constitution than remain in the Union without it."Jefferson Davis |

Link to comment
https://linustechtips.com/topic/385225-ubuntu-no-networking/#findComment-5200859
Share on other sites

Link to post
Share on other sites

I can certainly offer my assistance. Might be we can get your problem squared away quickly.

Can you open a terminal and open up /etc/network/interfaces and see if it has commented out (#) eth0 in the file?

sudo gedit /etc/network/interfaces
If eth0 or nothing is commented out, can you try:
sudo gedit /etc/NetworkManager/NetworkManager.conf
Is there something called "managed=false" in it?

EDIT

Just saw the edits to your post. The dev/mapper is referencing an error to encryption on a swap partition. Did you enable encryption when installing Ubuntu? If not we just have to delay or disable swapon. I haven't actually done it before but I do know of several methods we could attempt.

I tried the manage part I assumed to change it to true. Did that and restarted network and it has ifupdown but didn't connect at all.

Added my own one and used that and connected to my router but still no internet.

I thought it might be a dns issue so I added Google's [8.8.8.8] and still no luck.

I can ping localhost but I can't ping my router. Just on the way to college so will be tonight before I try anything.

Yeah I have enabled disk encryption.

Edit: didn't see the other post ill try that when I get in see if it works but learning is fun.

 

Edit 2: i've done everything posted still no luck. 

 

so far i;ve tried dhcp (doesn't connect) tried hard reset router (doesn't connect) , manual ip (connects but can't even ping router). Not sure where to go from here

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
https://linustechtips.com/topic/385225-ubuntu-no-networking/#findComment-5201054
Share on other sites

Link to post
Share on other sites

Ok so this has be fixed and it a problem with 990fx-ud3 by gigabyte. there is some weird issue with a bios feature called IOMMU which is disabled by default. 64 bit linux cannot connect a network with this option disabled but wont boot with it enabled.

 

first disable IOMMU and install linux, open up terminal 

sudo gedit /etc/default/grub

find the line GRUB_CMDLINE_LINUX="" and change it to GRUB_CMDLINE_LINUX="iommu=soft"

sudo update-grub

reboot and disable iommu in the bios and all networking and usb ports work

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
https://linustechtips.com/topic/385225-ubuntu-no-networking/#findComment-5203332
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

×