multiARM network configuration policy

Ask questions about Arch Linux ARM. Please search before making a new topic.

multiARM network configuration policy

Postby Fuson51 » Fri Feb 23, 2018 10:22 am

Hello,

I am looking for a guideline (policy) for my network configuration. I need your help because it is not easy for me to do tests (they don't really have a screen/keyboard I do everything via the network!!!). And I'm not really comfortable with this part.

I have several ArchLinuxArm (RPi 1-2-3 A/B, Odroid) and I would like a configuration to be the same for all, regardless of their hardware. Sometimes they have an internal wifi, sometimes a dongle, sometimes no wifi at all (only eth).

The idea is to use the Ethernet connection if available and if not, to use the one of the netctl wireless profiles. But only one profile at a time.

What I have done is to automatically generate static profiles:
/etc/netctl/LAN
/etc/netctl/WirelessA
/etc/netctl/WirelessB
/etc/netctl/WirelessC...
but despite the very good documentation I can't understand what service I need to enable and disable.
I disabled systemd-networkd, activated netctl-ifplug@LAN, netctl-auto@DTC but it doesn't seem to work.
Am I on the right track?

Here's what my simple profiles look like (personalized by scripts to be static).
$this->bbcode_second_pass_code('', '/etc/netctl/LAN
Interface=eth0
Connection=ethernet
IP=static
Address='192.168.1.56/24'
Gateway='192.168.1.1'
DNS=('192.168.1.1')')
$this->bbcode_second_pass_code('', '/etc/netctl/WirelessA
Interface=wlan0
Connection=wireless
Security=wpa
IP=static
Address='192.168.1.56/24'
Gateway='192.168.1.1'
DNS=('192.168.1.1')
ESSID='XXX'
Key='YYYY'
Priority=2')

Thank you very much in advance!
Fuson51
 
Posts: 12
Joined: Sat Jan 05, 2013 7:32 pm

Return to User Questions

Who is online

Users browsing this forum: No registered users and 7 guests