SliTaz SliTaz Forum

You are not logged in.

#1 2011-05-01 16:34:12

Guest
Guest

Multiple ethernet ports

I've installed slitaz on a machine that has 3 ethernet ports but slitaz only configures the first one (eth0). If I run netbox it shows all 3 interfaces but only the first has an ip address.

How do I enable all the ports in slitaz?

#2 2011-05-01 16:45:00

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Multiple ethernet ports

you have to do it by console with ifconfig

http://www.computerhope.com/unix/uifconfi.htm

Offline

#3 2011-08-02 21:31:00

Rouzic22
Member
Registered: 2011-08-02
Posts: 7

Re: Multiple ethernet ports

You could creat a script 'start_net' with one line by interface ex:

   ifconfig eth0 10.10.10.10 netmask 255.255.255.0 up

   ifconfig eth1 10.10.20.10 netmask 255.255.255.0 up

   ...

   etc

chmod +x start_net

manualy run the script to test

./start_net

To automatize add a line ". /path_to_start_net/start_net" in /etc/init.d/local.sh

Enjoy

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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