Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: bpelleri on July 01, 2009, 09:14:00 AM
-
Hello folks,
I am a non-geek. I booted up the system, but the internet connection is not working. I have an ethernet cable and I assume it uses this "dhcp" thing and "broadcasts for IP".
The internet works well with DSL; I got it started there by clicking the control button "iwconfig" (I think). I am guessing that I have to type something either at boot or in a terminal in the JWM environment.
Thanks in advance,
Brian
-
iwconfig would be for wireless.
If you typically use an ethernet cable, then open a shell and type ifconfig.
Do you see an entry for etho? Post results from ifconfig here.
-
Sure, here is the ifconfig result:
eth0 Link encap:Ethernet HWaddr 00:A0:CC:21:23:B7
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2365 errors:4 dropped:0 overruns:0 frame:0
TX packets:2409 errors:1 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:1459673 (1.3 MiB) TX bytes:448061 (437.5 KiB)
Interrupt:10 Base address:0xd800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 B) TX bytes:100 (100.0 B)
-
It looks like it is working to me.
Cat /etc/resolv.conf and see if the right nameserver is listed.
run 'route -n' and make sure your default gateway is your DSL router.
glc@sharp-glc:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.0.254 0.0.0.0 UG 100 0 0 eth0
glc@sharp-glc:~$
Here my gateway is 192.168.0.254
-
maybe a suggestion:cpanel, netcard config, choose DHCP and hit yes. it should run udhcpc which will get an ip for your machine.
-
Cat /etc/resolv.conf and see if the right nameserver is listed.
I'm not sure what you mean by that...
Here is my kernel IP routing table:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 eth0
Sometimes it works (especially if I boot up TC after I just had DSL or some other OS working the internet connection properly), but it is certainly not a reliable thing.
I'll try netcard config - DHCP (even though I don't have a wireless net card).
BTW, I have the same trouble when using Slitaz and PCLOS, too.