Home Forums Software discussion OS – ubuntu Use network/interfaces instead

Tagged: ,

This topic contains 4 replies, has 3 voices, and was last updated by  wuworelab 3 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1242

    dsjstc
    Participant

    So this page is useful, but seriously, who has their initial network configuration in a bash script?

    If anyone here has write privileges to the wiki, a lot of that page could be replaced with:

    “Edit your /etc/network/interfaces to contain:”

    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet manual
    
    auto br0
    iface br0 inet dhcp
            bridge_ports lan1 lan0
            pre-up /sbin/ifconfig eth0 up
    #1256

    dsjstc
    Participant

    Update: I spoke too soon; this configuration has been extremely erratic for me, only working about 1 boot in three. I couldn’t find a way to get the bridge to come up automatically, but I’m having much better luck with the following.

    auto lo 
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet manual
    
    auto lan1
    iface lan1 inet dhcp
    
    auto lan0
    iface lan0 inet dhcp
    #1661

    adonesp
    Participant

    I used the systemd-netoworkd config files from Archlinux ARM for Espressobin. The files can be found in /etc/systemd/network. Copy it to your system and enable/start the systemd-networkd.service:

    # systemctl enable systemd-networkd.service
    # systemctl start systemd-networkd.service

    #1677

    adonesp
    Participant

    Actually, not just copy, but replace the whole contents of /etc/systemd/network

    #38469

    wuworelab
    Participant

    Love to comment on Google it.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Signup to our newsletter

Technical specification tables can not be displayed on mobile. Please view on desktop