WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TC CorePlus 4.2 - Ethernet Inoperable  (Read 3785 times)

Offline lkraemer

  • Newbie
  • *
  • Posts: 30
TC CorePlus 4.2 - Ethernet Inoperable
« on: January 02, 2012, 01:49:19 PM »
I just replaced TC 4.1 with TC CorePlus 4.2, and have Ethernet connected via a Patch cable.

ifconfig shows eth1 available, but I can't ping, or connect to the Internet on a system that
worked two minutes ago.  I've clicked on CONTROL PANEL -> NETWORK, and selected eth0 or eth1, dhcp,  and ping never responds.

Is there a way to bring up eth0 versus eth1 when booting TC 4.2?

Larry
« Last Edit: January 02, 2012, 02:11:30 PM by lkraemer »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: TC CorePlus 4.2 - Ethernet Inoperable
« Reply #1 on: January 03, 2012, 12:27:52 AM »
Hi lkraemer
Post the output of:
Code: [Select]
ifconfig
cat /etc/hosts
cat /etc/resolv.conf
route

Offline lkraemer

  • Newbie
  • *
  • Posts: 30
Re: TC CorePlus 4.2 - Ethernet Inoperable
« Reply #2 on: January 03, 2012, 08:38:33 PM »
Here is the output.

tc@box:~$ ifconfig
eth1      Link encap:Ethernet  HWaddr 00:30:02:0e:00:9b 
          inet addr:192.168.1.27  Bcast:192.168.1.255 
Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:9569 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3665 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:13566469 (12.9 MiB)  TX bytes:270977 (264.6 KiB)

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:25 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1354 (1.3 KiB)  TX bytes:1354 (1.3 KiB)
 
tc@box:~$ cat /etc/hosts
127.0.0.1 box localhost

# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

tc@box:~$ cat /etc/resolv.conf
nameserver 192.168.1.1
tc@box:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
default         192.168.1.1     0.0.0.0         UG    0      0        0
eth1
box             *               255.255.255.255 UH    0      0        0
lo
192.168.1.0     *               255.255.255.0   U     0      0        0
eth1
tc@box:~$

The Ampro Readyboard has two Ethernet ports.  By changing to the other Ethernet port I can
access the Internet and Ping works.  But, Shouldn't TC Default to eth0 on bootup?

Larry
« Last Edit: January 03, 2012, 08:40:57 PM by lkraemer »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: TC CorePlus 4.2 - Ethernet Inoperable
« Reply #3 on: January 03, 2012, 09:06:40 PM »
Hi lkraemer
I don't see anything wrong. Try  CONTROL PANEL -> NETWORK  again with the following settings:
Code: [Select]
eth0
Use DHCP=no
IP Address=192.168.1.27
Network Mask=255.255.255.0
Broadcast=192.168.1.255
Gateway=192.168.1.1
NameServers=192.168.1.1
Click Apply then Exit.

Offline lkraemer

  • Newbie
  • *
  • Posts: 30
Re: TC CorePlus 4.2 - Ethernet Inoperable
« Reply #4 on: January 04, 2012, 08:27:30 PM »
Here is some more detail.

tc@box:~$ sudo ifconfig -a
dummy0    Link encap:Ethernet  HWaddr 5e:a2:2b:29:92:a1 
          BROADCAST NOARP  MTU:1500  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)

eth0      Link encap:Ethernet  HWaddr 00:30:02:0e:00:0f 
          inet addr:192.168.1.27  Bcast:192.168.1.255  Mask:255.255.255.0
          BROADCAST MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth1      Link encap:Ethernet  HWaddr 00:30:02:0e:00:9b 
          inet addr:192.168.1.30  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 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:1600 (1.5 KiB)  TX bytes:666 (666.0 B)

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:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1200 (1.1 KiB)  TX bytes:1200 (1.1 KiB)

tc@box:~$ sudo ifconfig eth0 up
SIOCSIFFLAGS: No such file or directory
tc@box:~$

I'll try the other commands this weekend, as time permits.

Thanks.

Larry

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: TC CorePlus 4.2 - Ethernet Inoperable
« Reply #5 on: January 04, 2012, 09:00:15 PM »
Hi lkraemer
You neglected to mention you have two network interfaces installed. If you do not need to run two
interfaces, disable one of them.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: TC CorePlus 4.2 - Ethernet Inoperable
« Reply #6 on: January 05, 2012, 01:28:14 AM »
Having 2 adapters is OK (see routers, ... ) But to have 2 adapters in the same subnet is not a good practice in most cases.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."