The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » eth0 losing static ip » 2019-10-29 13:19:50

e97

thanks @aut0exec ! I suspected it was another network control manager but couldn't figure out what it was. Its disabled and removed.

Reset dnsmasq as well because I probably misconfigured it resulting in a conflict with my router. 

With those changes, everything seems good.

#2 Hardware & System Configuration » eth0 losing static ip » 2019-10-28 17:01:47

e97
Replies: 4

cat /etc/network/interfaces

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
#network 192.168.1.0
gateway 192.168.1.1

allow-hotplug enx0042
#auto enx0042
iface enx0042 inet dhcp

after about 24 hours, eth0 switches to a dynamic ip

is this not the proper way to set a static ip on devuan beowulf ?

#3 Re: Installation » Beowulf ISO for a server install » 2019-10-24 23:01:21

e97
danista wrote:
e97 wrote:
$ vim /etc/apt/sources.list

In vim type:

%s/ascii/beowulf/g

In my ascii installation, there is a file in that location /etc/apt/sources.list.d/devuan.list

I also have /etc/apt/sources.list.d/devuan.list and its all comments.

there should be /etc/apt/sources.list

what version of ascii are you using? I suspect, less than 2.1 which I'm not familiar with.

#4 Re: Installation » Beowulf ISO for a server install » 2019-10-24 14:28:01

e97

thats probably correct. fortunately some kind developer aliased it to dist-upgrade which still worked for me smile

will update the guide with that option

#5 Re: Installation » Beowulf ISO for a server install » 2019-10-23 23:26:27

e97

Here's a guide on a minimal server install and upgrade to beowulf.

Overview:
1) Install ascii
2) Add basic user security
3) Upgrade to beowulf

Here we go!

1) Install ascii system using: devuan_ascii_2.1_amd64_netinst.iso

At tasksel, choose only openssh-server

I chose openrc as my init system without issue, if you are unsure stick with Sysvinit.

ascii is now installed!

2) Correct basic user security (and add a text editor of your preference)

Switch to root account:

su -

Update apt

root $ apt update

Install sudo and a text editor of your preference. I'm using vim.

root $ apt install sudo vim

Add user account to sudoers

root $ adduser <user> sudo

# test if user can sudo in a new shell, must use a new shell!
# if yes, exit root

lock root account with:

$ sudo passwd -l root

3) Upgrade to beowulf

Update sources to beowulf:

$ vim /etc/apt/sources.list

In vim type:

%s/ascii/beowulf/g

Hit enter and ascii -> beowulf

$ sudo apt update
$ sudo apt dist-upgrade

## if that doesn't work try:

$ sudo apt full-upgrade

Select "Yes" for unattended service restart

This may take some time.. once finish verify the upgrade:

$ cat /etc/devuan_version
beowulf/ceres

Congrats! You've upgraded to beowulf

#6 Documentation » devuan on AtomicPi router » 2019-10-23 16:24:05

e97
Replies: 0

I've been meaning to try devuan as a router / firewall so little guide using the Atomic Pi which costs USD$35 !

specs:

Genuine Intel Atom x5-Z8350 quad core with 2M Cache. Runs up to 1.92GHz with a 480MHz GPU.
Memory: 2GB DDR3L-1600, 16GB eMMC, SD slot for adding more - up to 256GB
Full HDMI port with Intel HD Graphics & primary audio out
USB 3.0 and USB 2.0 ports
Fast dual band WiFI b/g/n/ac 2.4 & 5GHz WiFi RT5572 IPX connectors on board
Bluetooth 4.0 CR8510
Gigabit hardwired RJ45 Ethernet RTL8111G
Peripheral 9-axis inertial navigation sensor with compass BNO055
Secondary XMOS audio output with class-D power amp.
TTL serial debug and expansion serial ports up to 3.6Mbps
Real time clock & battery
JST style connectors on top and a 26-pin header for power & GPIO below.
Runs on 5V. Typically 4-15 watts.
Legitimate licensed BIOS boots from SD, USB, or Ethernet. Linux comes preloaded... Yes, it'll run Win10 32 or 64.

Used this guide https://blog.tjll.net/building-my-perfect-router/ as a starting point. Used unbound for local dns reslover and a few other changes to traffic shaping and metrics; using prometheus and grafana

Since its a regular x86_64 PC nothing crazy:

1) Make devuan USB and boot from USB stick

On OSX/*nix thats :

dd if=<devuan.iso> of=/dev/<usb> bs=4m

2) Install devuan server minimal

3) Upgrade to Beowulf

[ guide for steps 2-3: https://dev1galaxy.org/viewtopic.php?pid=18283#p18283 ]

4) Install and configure router software [this guide]

-------

4) Install and configure router software

Install:

    $ sudo apt install \
    dnsmasq # dhcp server \
    unbound # recursive dns resolver \
    iptables-netflow-dkms # netflow kernel modules \
    firehol #ip blocking \
    fireqos #qos scripts

   
Using a USB 3.0 to Gigabit adapter + the internal NIC, easily routes 1 Gbps with QoS

#7 Re: Installation » Beowulf ISO for a server install » 2019-07-26 19:04:45

e97

That leaves the option of an ascii netboot iso and local beowulf apt cache/mirror

#8 Installation » Beowulf ISO for a server install » 2019-07-26 17:12:27

e97
Replies: 8

Hello,

I have a couple servers I'd like to switch from debian to devuan, is there a Beowulf server ISO to save on bandwidth and time?

Board footer

Forum Software