WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Ethernet does not work  (Read 759 times)

Offline Soe

  • Newbie
  • *
  • Posts: 10
Ethernet does not work
« on: April 15, 2025, 04:38:12 AM »
Despite having used Tiny Core before successfully (many years ago) on an old Toshiba laptop I am a beginner, so please forgive my ignorance.  My computer died a few weeks back.   I have 'borrowed' my wife's work laptop to help me with my task - she is not thrilled with this.  I have no administrator access to her machine.

Now I am trying to set up Linux on a Dell Inspiron 530. I managed to put Windows XP on its and I would like to set up dual boot eventually.  I have made a live Coreplus USB which I can boot to.   However the ethernet card is not working.  I have no wifi hardware.  I do not really know what I am doing and I do not know how to add components to Coreplus.

From researching I have found out how to get this info: 
cpuinfo:   Intel(R) Core(TM)2 quad CPU Q6600 @ 2400GHz. 
lspci :  Ethernet controller: Intel Corporation 82562V-2 10/100 Network Connector (rev 02)
 
Can anyone help me with this please? 

Thankyou. 

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15150
Re: Ethernet does not work
« Reply #1 on: April 15, 2025, 04:49:21 AM »
If you check dmesg is there an error about missing firmware?

Code: [Select]
dmesg | grep -i firmware

Offline Soe

  • Newbie
  • *
  • Posts: 10
Re: Ethernet does not work
« Reply #2 on: April 15, 2025, 05:04:51 AM »
Hello Juanito.  Thanks for the reply.     

Over the past few days I've typed dmseg a number of times and always got the same response - "not found" and I assumed it was not in this version of Linux.
But now I see it is supposed to be dmesg.     doh....

So if I type the correct command I do get back this
   ACPI:  OSL:  Resource conflict; ACPI support missing from driver? 
 so maybe that is a hint?   

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15150
Re: Ethernet does not work
« Reply #3 on: April 15, 2025, 05:27:00 AM »
Does lsmod show that the e1000 driver is loaded?

If not, try sudo modprobe e1000

Offline Soe

  • Newbie
  • *
  • Posts: 10
Re: Ethernet does not work
« Reply #4 on: April 15, 2025, 05:44:36 AM »
lsmod reports (amongst other things)

Code: [Select]
module            size       used  by      Not tainted 
    ...
acpi_cpufreq      12280
e1000e           122880    0.     
ptp               29489    1 e1000e
    ...

I assume that means it is not used?

    [Edit] Added code tags.  Rich

sudo modprobe e1000 returns nothing.
   
« Last Edit: April 15, 2025, 08:50:29 AM by Rich »

Offline Soe

  • Newbie
  • *
  • Posts: 10
Re: Ethernet does not work
« Reply #5 on: April 15, 2025, 06:25:01 AM »
Hi - Sorry, I was fixing/editing my reply but got timed out...

after the    sudo modprobe e1000 the result of lsmod is unchanged.    and ping 8.8.8.8 returns  "network is unreachable"


 

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15150
Re: Ethernet does not work
« Reply #6 on: April 15, 2025, 06:29:57 AM »
How about ifconfig?

Offline Soe

  • Newbie
  • *
  • Posts: 10
Re: Ethernet does not work
« Reply #7 on: April 15, 2025, 07:08:46 AM »
Ifconfig returns :

Link encap:Local Loopback
inet addr:127.0.0.1 Mask 255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2168 (2.1KiB) TX bytes:2168 (2.1 KiB)

?  all gibberish to me.....

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12106
Re: Ethernet does not work
« Reply #8 on: April 15, 2025, 09:00:05 AM »
Hi Soe
Welcome to the forum.

Please use  Code Tags  when posting commands and responses seen in a terminal. To use  Code Tags  click on the  #  icon
above the reply box and paste your text between the  Code Tags  as shown in this example:

Quote
[code][   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]

It will appear like this in your post:
Code: [Select]
[   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517

Code Tags  serve as visual markers between what you are trying to say and the information you are posting. They also preserve
spacing so column aligned data displays properly. Code tags also automatically add horizontal and or vertical scrollbars
to accommodate long lines and listings.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12106
Re: Ethernet does not work
« Reply #9 on: April 15, 2025, 09:00:45 AM »
Hi Soe
Let's try configuring your network card:
Code: [Select]
sudo ifconfig eth0 192.168.1.188 netmask 255.255.255.0 broadcast 192.168.1.255 up
sudo route add default gw 192.168.1.1
sudo echo nameserver 192.168.1.1 > /etc/resolv.conf
This assumes your routers address is 192.168.1.1 and your
network card is eth0.

If you enter:
Code: [Select]
ifconfig -ayou should see your network card even if it's not configured.

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 752
Re: Ethernet does not work
« Reply #10 on: April 15, 2025, 09:11:09 AM »
Don't know if TC busybox has the new kid in town, the command IP.
But if that is true, you can config your Ethernet card as follow.

sudo ip link set eth0 up
sudo ip addr add 192.168.1.188/24 brd + dev eth0
sudo ip route add default via 192.168.1.1
sudo sh -c 'echo nameserver 192.168.1.1 > /etc/resolv.conf'
« Last Edit: April 15, 2025, 09:38:35 AM by patrikg »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12106
Re: Ethernet does not work
« Reply #11 on: April 15, 2025, 10:07:40 AM »
Hi patrikg
Don't know if TC busybox has the new kid in town, the command IP. ...
No, it doesn't have the command  ip.

Offline Soe

  • Newbie
  • *
  • Posts: 10
Re: Ethernet does not work
« Reply #12 on: April 15, 2025, 10:14:16 AM »
Replying to Rich:

Thanks very much for the help! 
 
From looking in Windows, I think my routers address is 192.168.100.1.  and I am trying use the code flags.   So..

Code: [Select]
sudo ifconfig eth0 192.168.100.188 netmask 255.255.255.0 broadcast 192.168.100.255 up   :  SIOCSIFADDR: No such device
sudo route add default gw 192.168.100.1     : resolving dafault 
sudo echo nameserver 192.168.100.1 > /etc/resolv.conf     : 

dmesg | grep -i firmware   :   

ifconfig :
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:8 errors:0 dropped:0 overruns:0 frame:0
       TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000
       RX bytes: 468 (468.0 B) TX bytes: 468 (468.0 B)


But I still have no network access. 

Offline Soe

  • Newbie
  • *
  • Posts: 10
Re: Ethernet does not work
« Reply #13 on: April 15, 2025, 10:16:42 AM »
Don't know if TC busybox has the new kid in town, the command IP.
But if that is true, you can config your Ethernet card as follow.

sudo ip link set eth0 up
sudo ip addr add 192.168.1.188/24 brd + dev eth0
sudo ip route add default via 192.168.1.1
sudo sh -c 'echo nameserver 192.168.1.1 > /etc/resolv.conf'

Thanks Patrickg.   I tried but as Rich says it does not work.  yet?    But thanks for trying to help me!
 

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12106
Re: Ethernet does not work
« Reply #14 on: April 15, 2025, 10:20:36 AM »
Hi Soe
What does this command return?
Code: [Select]
ifconfig -a