SliTaz SliTaz Forum

You are not logged in.

#1 2012-04-20 11:07:19

ntzanos
Member
Registered: 2012-04-20
Posts: 2

Additional network card

Hi,

I have installed Slitaz 4 on a VirtualBox VM. I would like to setup two network cards, which is something I usually do when I want host-only interface for ssh connection and a NAT connection for the internet.

I tried with various ways, but I have not yet succeeded. Is this possible at all?

I see that in /etc/network.conf there is a default device declared, but how do I declare additional ones?

Regards,

Nikos Tzanos

Offline

#2 2012-04-20 12:35:43

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

Re: Additional network card

Find network card alias:

[c]cat /proc/net/dev[/c]

Activate network card:

[c]ifconfig <network card alias> <i.p. address> up[/c]

Activate network card on boot: add command to /etc/init.d/local.sh

Offline

#3 2012-04-23 13:06:31

ntzanos
Member
Registered: 2012-04-20
Posts: 2

Re: Additional network card

Thanks a lot for the info.

Offline

#4 2012-10-25 11:01:43

nikea
Member
Registered: 2012-10-25
Posts: 1

Re: Additional network card

If the card take the address by dhcp , you could add the dhcp command in  /etc/init.d/local.sh :

[c]udhcpc -b -T 1 -A 12 -i <interface eth0 or eth1 ussually>[/c]

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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