Tiny Core Base > CorePlus

Ethernet does not work

<< < (3/5) > >>

patrikg:
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'

Rich:
Hi patrikg

--- Quote from: patrikg on April 15, 2025, 09:11:09 AM ---Don't know if TC busybox has the new kid in town, the command IP. ...
--- End quote ---
No, it doesn't have the command  ip.

Soe:
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: ---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)


--- End code ---

But I still have no network access. 

Soe:

--- Quote from: patrikg 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'

--- End quote ---

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

Rich:
Hi Soe
What does this command return?

--- Code: ---ifconfig -a
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version