SliTaz SliTaz Forum

You are not logged in.

#1 2012-11-22 19:22:51

arodulfo
Member
Registered: 2012-11-03
Posts: 71

SliTaz 4 - Setting system second ethernet interface up

Dear all,

I am using an iEi WAFER-945-GSE SBC, tied to n 800x600 LCD monitor.

The SBC has a couple of ethernet sockets and one of them was properly set up as eth0 during install.

Would it be possible to set the second interface ([c]eth1[/c]) as well?

If so, where should I start looking for help?

I tried to look for [c]/etc/network/interfaces[/c] in order to allow this interface activation, but the file is not there!

I found [c]eth0[/c] being provided for in [c]/etc/network.conf[/c].

However, there seem to be no room for a second interface definition.

I had a look at [c]/etc/init.d/network.sh[/c] as well.

It just refers to ONE interface (the one you find in [c]/etc/network.conf[/c], I guess).

I'm quite sorry. I tried to do my homeworks...

Thanks a lot for your time.

Kind regards,

Offline

#2 2012-11-22 19:45:09

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: SliTaz 4 - Setting system second ethernet interface up

I have a 2nd ethernet adapter with static i.p. running udhcpd to connect my LAN for Internet Connection Sharing

#leafpad /etc/init.d/local.sh

Add below echo "Starting local startup commands... "

#configure interface alias connected to LAN

ifconfig eth1 192.168.0.1 up

More info on ICS setup: http://forum.slitaz.org/topic/internet-connection-sharing/page/2

Offline

#3 2012-11-23 10:12:21

arodulfo
Member
Registered: 2012-11-03
Posts: 71

Re: SliTaz 4 - Setting system second ethernet interface up

@mojo: Thanks a lot for your answer.

I'll give it a try and report the results back to you.

Having a second, fixed address ethernet connection can be useful for us.

Wouldn't it be possible to have them both dynamically set on startup?

Thank you so much for your time and your help.

Kind regards,

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]