Internet connection for mLinux conduit
Home › Forums › Conduit: mLinux Model › Internet connection for mLinux conduit
Tagged: 456789
- This topic has 4 replies, 3 voices, and was last updated 8 years, 2 months ago by
Nicolas Carvallo.
-
AuthorPosts
-
March 15, 2017 at 11:41 am #17812
Amani Moussa
ParticipantHi,
I tries to establish an internet connection on my conduit in order to connect to Loriot.
So, i do the following steps:
1- connect the conduit to the company router.
2- modify the /etc/network/interfaces as follow: # The loopback interface
auto lo
iface lo inet loopback
# Wired interface
auto eth0
iface eth0 inet static
address 192.168.2.100
netmask 255.255.255.0
gateway 192.168.2.1
3-pinging 8.8.8.8 ==> From 192.168.2.100 icmp_seq=1 Destination Host Unreachable==> the ipconfig of:
*** My Pc is
Carte Ethernet Connexion au réseau local :
Suffixe DNS propre à la connexion. . . : mail.telnet.tunis
Adresse IPv6 de liaison locale. . . . .: fe80::694d:79f6:e165:dc91%14
Adresse IPv4. . . . . . . . . . . . . .: 10.1.1.64
Masque de sous-réseau. . . . . . . . . : 255.255.255.0
Passerelle par défaut. . . . . . . . . : 10.1.1.1*** the conduit:
eth0 Link encap:Ethernet HWaddr 00:08:00:4A:0A:4A
inet addr:192.168.2.100 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8526 errors:0 dropped:0 overruns:0 frame:0
TX packets:483 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:692253 (676.0 KiB) TX bytes:117826 (115.0 KiB)
Interrupt:23 Base address:0xc000lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:542 errors:0 dropped:0 overruns:0 frame:0
TX packets:542 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:33389 (32.6 KiB) TX bytes:33389 (32.6 KiB)Have you any idea? Thanks for your help in advance.
August 3, 2017 at 9:02 am #20527Nicolas Carvallo
ParticipantHello,
Didi you solve the problem? I have the same issue. I use to have internet connexion and now it doesn’t work any more.
Thanks.
August 3, 2017 at 9:07 am #20530Amani Moussa
ParticipantHello,
Not yet, if you find a solution please informe me.
thanks
August 3, 2017 at 9:17 am #20539Jason Reiss
KeymasterIf router has DHCP server, which is expected, then configure interface to use dhcp client to assign address and gateway.
In /etc/network/interface
Replace “iface eth0 inet static” with “iface eth0 inet dhcp”
August 11, 2017 at 9:54 am #20603Nicolas Carvallo
ParticipantHi,
I had to fix 2 things:
First add the gateway ip (router)
second fix the DNS problemI added the two following lines in /etc/network/interface after ip-adress and netmask:
ipaddress 192.168.2.1
netmask 255.255.255.0
gateway 192.168.2.254
post-up echo “nameserver 8.8.8.8″ > /etc/resolv.conf -
AuthorPosts
- You must be logged in to reply to this topic.