You are not logged in.

#1 2016-07-01 18:56:14

jjanderson5
Member
Registered: 2016-05-10
Posts: 156

[RESOLVED] ethernet fails to connect after initial installation

I'm attempting to install the hydrogen release on my laptop. In my most recent attempt I have run the 64-bit install from a CDROM. Once the install completed, I installed a few packages (nfs, tcsh, etc.) but the installation is still pretty minimal. After installing these packages, I tried to reboot. During the reboot, the process falled into 'emergency mode'.

In this mode, I provided the root password and entered a shell. I then ran:

systemclt status mnt-jjaAlt.mount

with the output:

mnt-jjaAlt.mount - /mnt/jjaAlt
   Loaded: loaded (/etc/fstab)
   Active: failed (Result: exit-code) since Fri 2016-07-01 14:11:15 EDT; 7min ago
    Where: /mnt/jjaAlt
     What: snider:/mnt/jjaAlt
     Docs: man:fstab(5)
           man:systemd-fstab-generator(8)
  Process: 399 ExecMount=/bin/mount -n snider:/mnt/jjaAlt /mnt/jjaAlt -t nfs -o rw,hard,intr (code=exited, status=32)

Jul 01 14:11:15 furillo mount[399]: mount.nfs: Network is unreachable
Jul 01 14:11:15 furillo systemd[1]: mnt-jjaAlt.mount mount process exited, code=exited status=32
Jul 01 14:11:15 furillo systemd[1]: Failed to mount /mnt/jjaAlt.
Jul 01 14:11:15 furillo systemd[1]: Unit mnt-jjaAlt.mount entered failed state.

The 'Network is unreachable' message sure looks like the ethernet connection has not been made during the boot. During the installation, the ethernet cable was working when the packages were installed. After the boot attempt, I attached the ethernet cable to a different PC and the connection worked.

To me it is no surprise that the connection failed, because I had not yet configured the network manager for a 'wired' connection.

I did a search and came up with no hits.

My first question is why did the boot program throw me into 'emergency mode'? An ethernet connection is not needed to boot the laptop. Normally, I would boot and then configure the network? Is there a way to lockout 'emergency mode' during the boot?  Or is there someway to bring up a live CDROM and modify the installed OS so that it is configured prior to the next boot?

Jim A.

Last edited by jjanderson5 (2016-07-03 13:02:12)

Offline

#2 2016-07-01 19:31:54

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,143
Website

Re: [RESOLVED] ethernet fails to connect after initial installation

jjanderson5 wrote:

I'm attempting to install the hydrogen release on my laptop. In my most recent attempt I have run the 64-bit install from a CDROM. Once the install completed, I installed a few packages (nfs, tcsh, etc.) but the installation is still pretty minimal.

Stop right there. Does the CD boot into live mode with a full desktop and can you connect to ethernet via the panel applet? If not, something is wrong.

A successful installation should boot you into a graphical login screen and then a full desktop.


I don't care what you do at home. Would you care to explain?

Offline

#3 2016-07-01 21:48:10

topdollar
Member
From: San Jose, CA
Registered: 2016-03-20
Posts: 68

Re: [RESOLVED] ethernet fails to connect after initial installation

Just my 2 cents, ran into this trying to install on a lenovo laptop, turned out the NIC was fried. Once I replaced the NIC, everything was easy peasy!


"Don't be too proud of this technological terror you have constructed... The ability to destroy a planet is insignificant next to the power of the FORCE" -Darth Vader

Offline

#4 2016-07-01 21:52:51

jjanderson5
Member
Registered: 2016-05-10
Posts: 156

Re: [RESOLVED] ethernet fails to connect after initial installation

Does the CD boot into live mode with a full desktop and can you connect to ethernet via the panel applet?

The short answer is yes and yes.

The longer answer is yes, I can boot up from the CDROM in live mode. But - when I boot up, I do not have ethernet connectivity because the default for the CDROM boot is to create an ethernet connection using DHCP, i.e. the IP address is assigned on-the-fly. I use static address on my intranet, so to make the live mode work on my network, I have to edit the ethernet connection and manually assign an IP address that is available on my internal network.

Now in relation to my installation, I suspect that the installed version also has an ethernet connction that uses DHCP. To make that work, I must be able to edit the connection and assign an appropriate IP address. I can't do this because the boot program forces me into 'emergency mode' and I have no way (that I know of) to edit the ethernet connection to assign an appropriate IP address.

Jim

Offline

#5 2016-07-01 23:09:49

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [RESOLVED] ethernet fails to connect after initial installation

To prevent emergency mode after mount failure, try adding

nofail

to fs_mntops (the forth field in /etc/fstab) in the entry for /mnt/jjaAlt, as described in systemd.mount(5)

edit the ethernet connection to assign an appropriate IP address.

From the live environment, edit the file at /etc/network/interfaces (on your installed system) and add this stanza:

auto eth0
iface eth0 inet static
   address 192.168.1.23
   netmask 255.255.255.0

This assumes that your interface is called "eth0" (check by running `ip link`).

See interfaces(5) for more.

Once the interface is named in that file, NetworkManager should stop attempting to configure it.

Offline

#6 2016-07-03 13:01:28

jjanderson5
Member
Registered: 2016-05-10
Posts: 156

Re: [RESOLVED] ethernet fails to connect after initial installation

@Head_on_a_Stick

Thank you for the help on the ethernet problem.

The good news:

    Your solution worked like a charm. I'm no longer getting error messages about failing to mount.

The bad news:

     I still getting an unrelated error message and going into 'emergency mode'. I will start new thread for this problem.

Offline

Board footer

Powered by FluxBB