Internet connection with Ethernet

Home Forums Conduit: mLinux Model Internet connection with Ethernet

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20484
    Nicola Mondello
    Participant

    Hi, using the Conduit without a SIM card is it possible to connect to the Internet only through the Ethernet connection?
    Actually when I ping for example 8.8.8.8 I get:
    `root@mtcdt:~# ping 8.8.8.8
    connect: Network is unreachable

    this is my network configuration:

    root@mtcdt:~# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:08:00:4A:12:10
    inet addr:192.168.2.111 Bcast:192.168.2.255 Mask:255.255.255.0
    inet6 addr: fe80::208:ff:fe4a:1210/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:80 errors:0 dropped:0 overruns:0 frame:0
    TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:9644 (9.4 KiB) TX bytes:11574 (11.3 KiB)
    Interrupt:23 Base address:0xc000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:22 errors:0 dropped:0 overruns:0 frame:0
    TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1424 (1.3 KiB) TX bytes:1424 (1.3 KiB)

    #20487
    Jeff Hatch
    Keymaster

    Nicola,

    You will need to configure the default gateway and other settings in the /etc/network/interfaces file. For example:

    auto eth0
    iface eth0 inet static
    address 10.0.0.100
    netmask 255.255.255.0
    gateway 10.0.0.1

    This configures the Ethernet eth0 interface to be brought up automatically with an address of 10.0.0.100 and the default gateway of 10.0.0.1. This information would go into /etc/network/interfaces.

    Jeff

    #20489
    Nicola Mondello
    Participant

    Hi Jeff,
    thanks for your answer. My interfaces file was

    auto eth0
    iface eth0 inet static
    address 192.168.2.111
    netmask 255.255.255.0

    I forgot to add the gateway line:
    gateway 192.168.2.1

    Now it works.
    Thank you

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.