dCore Import Debian Packages to Mountable SCE extensions > dCore X86

I can't connect to internet, eth0 not showing up in ifconfig output

<< < (2/2)

Santos:

--- Quote from: Rich on January 27, 2019, 11:53:14 PM ---Hi Santos
Please use  code tags  when posting the output of commands.

--- End quote ---

Ok, i'm sorry.


--- Quote from: Jason W on January 28, 2019, 03:24:31 AM ---Also, the output of the command "ifconfig" for both dCore-trusty and dCore-xenial.  thanks. 

--- End quote ---


Trusty


--- Code: ---eth0      Link encap:Ethernet  HWaddr 00:11:25:D1:34:B6 
          inet addr:***.***.*.**  Bcast:***.***.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:744 (744.0 B)  TX bytes:684 (684.0 B)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)



--- End code ---



Xenial


--- Code: ---lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)



--- End code ---

Thank you.

Jason W:
Ok, does anything happen in dCore-xenial if you issue with a root command line:

udhcpc -i eth0

Also, does following the below succession of commands help:

udevadm trigger
ifconfig eth0 up
udhcpc -i eth0


I am assuming you are using dhcp and not manually assigning address and gateway?

Also, post the contents of your /opt/bootlocal.sh if you have added to it, at least in relation to networking.

Also, if the above does not help, add to your bootcodes if it does not exist:

net.ifnames=0

This enables old network card names like eth0 to be used, otherwise they are named things like enp2s0.  The dCore .iso images contain this boot code as well as resulting USB installs done by dCore-usbinstall. 

Santos:

--- Quote from: Jason W on January 28, 2019, 10:33:05 PM ---Ok, does anything happen in dCore-xenial if you issue with a root command line:

udhcpc -i eth0

Also, does following the below succession of commands help:

udevadm trigger
ifconfig eth0 up
udhcpc -i eth0


I am assuming you are using dhcp and not manually assigning address and gateway?

Also, post the contents of your /opt/bootlocal.sh if you have added to it, at least in relation to networking.

Also, if the above does not help, add to your bootcodes if it does not exist:

net.ifnames=0

This enables old network card names like eth0 to be used, otherwise they are named things like enp2s0.  The dCore .iso images contain this boot code as well as resulting USB installs done by dCore-usbinstall.

--- End quote ---

Thank you so much.

This works with Xenial:

$ sudo udhcpc -i eth0

If i don't edit this post it will mean that the previous command work for Stretch too.
I enter the list of command just to make sure everything it's ok. bootlocal.sh file doesn't have contents inside of it.
And, the kernel line net.ifnames=0 it is present in Xenial and Trusty dCore.

Again, thank you so much for the help.

Jason W:
Also, another thing for anyone seeing the network card not being recognized is make sure the "nodhcp" boot code is not being used as it would cause this or similar. 

Navigation

[0] Message Index

[*] Previous page

Go to full version