X-Original-To: alpine-user@lists.alpinelinux.org Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by lists.alpinelinux.org (Postfix) with ESMTP id 73D715C571F for ; Tue, 18 Sep 2018 20:49:57 +0000 (GMT) Received: by mail-oi0-f46.google.com with SMTP id m11-v6so3103579oic.2 for ; Tue, 18 Sep 2018 13:49:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v27RB1q2A8NV/Qi9QdjyPT9+fg+66dDCbdJNlfNw+Gs=; b=aOmnzECeoT4vDSQFwz57Jw2clVbJmpreFAhbdVoPnjMLQBTrjU12qfb+/LZEhpTOlW SiHiIOfO/0aBNaPOF3d1ggHCRxPtr5jN2uNVPsFe4hfKNEWyF1p/Lb5DOCW2O2mNmiIM d/TpGD1DvudcYZ8PLClsNl4NYJ1VD3odQlyK6A3emvElhg9VSC19GrHFh+9820ORm4Nd QG6KnH8YQTg7Bz1KavypS+mXf2/hlDh+E1EfORdCGznzm2YjIKXvaXN4Mg4QTaFTvhvf W+vMttqKzAMBtQNLRaerhbwj5arrHggAv/edv6xCR76jTjZzT9w3WaMO7EF7WT7xsysp v8PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=v27RB1q2A8NV/Qi9QdjyPT9+fg+66dDCbdJNlfNw+Gs=; b=TWCPIapytzSTnNPV3LmNCjy2Rx/IR/uBm3dXSWPFqiVDBbGhnj1GNQk0tSuUbdNa64 SwGZUkqskCjVX0VU0P4T+ZVdtpibP01NNFSrC3yjMRMScdfWZu/loxHv6m5F+lo87tVj VGKVzPVY8lTuAB4PR6HXqINx8mCHWZjxIS0eBd5khMd/M+Ma8A7PzouMKzjVBs98UXun t7n+a9b5sUkT3FpdeDbC8VTqSxCqH/QviJicx+MCGzFSE5ipuVuu6czE3IT23o7C5ec+ 497AiOCZdZsrkAS8D1CC4dy0/lncyTQSCW+8JgAZC36e2WDk1FlTBDDRnhAFv9KUG/Sn TPnw== X-Gm-Message-State: APzg51ALnlvuGpLwQ/CVvZ0jQ8CthH6ql8+cL+00b79vEK/rbaqMi/sG SzI3nwqbbsH80Zyw52xinXnsqT87RHfFlHvsra0= X-Google-Smtp-Source: ANB0VdaaUiB2105kwdvdJNJSu7D/+4Gbm2XnVrGcil1E23bHEmKs9mIEmno1hVAxTFKONLOkrianxJEwukamRQqlcFg= X-Received: by 2002:aca:ce02:: with SMTP id e2-v6mr2587694oig.225.1537303797140; Tue, 18 Sep 2018 13:49:57 -0700 (PDT) X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: In-Reply-To: From: "Brent B. Powers" Date: Tue, 18 Sep 2018 16:49:46 -0400 Message-ID: Subject: Re: [alpine-user] ip_tables.ko versions on Raspberry To: d@duniel.no Cc: alpine-user@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="000000000000bd92ac05762b6e40" --000000000000bd92ac05762b6e40 Content-Type: text/plain; charset="UTF-8" With your help, I got it sorted out. As mentioned, I had done the sys install, but never added the overlay mount to /media/mmcblk0p1/boot to my fstab. That fixed, all else fell into place. Thank you On Tue, Sep 18, 2018 at 3:18 PM Daniel Isaksen wrote: > Looks like linux-rpi2 is at version 4.14.69-r0 in both 3.8 and edge - > perhaps try making sure you're using 3.8 in /etc/apk/repositories and > running a full upgrade, then rebooting? > > ----- > Sincerely / Med vennlig hilsen, > Daniel Isaksen (https://duniel.no) > > On Tue, Sep 18, 2018 at 9:13 PM, Brent B. Powers > wrote: > >> It is more than possible that I am using edge (although I don't recall >> making that decision). Is there a way of moving from edge to 3.8? >> >> On Tue, Sep 18, 2018 at 3:00 PM Daniel Isaksen wrote: >> >>> Are you using edge? >>> >>> Kernel modules are built against a specific kernel version, and if you >>> upgrade either, you need to upgrade the other. I.e. if you upgraded >>> iptables, you need to upgrade the kernel as well, or install iptables built >>> against the kernel version you are running. >>> >>> Also, after upgrading the kernel, you need to reboot the machine. >>> >>> ----- >>> Sincerely / Med vennlig hilsen, >>> Daniel Isaksen (https://duniel.no) >>> >>> On Tue, Sep 18, 2018 at 8:10 PM, Brent B. Powers < >>> brent.b.powers@gmail.com> wrote: >>> >>>> I've thrown Alpine onto a raspberry 2 to use as a DNS server, via a >>>> sys-type installation. I've got my DNS going just fine, but I'm getting >>>> hammered by ssh attempts. The obvious situation is sshguard, but that >>>> requires (nowadays) a firewall. >>>> >>>> I've apk'd iptables, but the service won't run, as there's no kernel >>>> support. And here's the rub: I can't modprobe ip_tables.ko, as modprobe is >>>> looking for it in 4.14.52-0-rpi2, and I've got it in 4.14.69-0-rpi2. I >>>> don't know how that happened, but neither insmod or modprobe is letting me >>>> past it (actually, insmod is giving me an error about Unknown Symbols). >>>> >>>> >>>> To compound my difficulties, I'm more of a bsd person than linux, so, >>>> please, be gentle. cheers, and thanks for the help. >>>> >>>> >>>> >>> > --000000000000bd92ac05762b6e40 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
With your help, I got it sorted out. As mentioned, I had d= one the sys install, but never added the overlay mount to=C2=A0 /media/mmcb= lk0p1/boot to my fstab. That fixed, all else fell into place.

Thank you

= On Tue, Sep 18, 2018 at 3:18 PM Daniel Isaksen <d@duniel.no> wrote:
<= div dir=3D"ltr">Looks like linux-rpi2 is at version 4.14.69-r0 in both 3.8 = and edge - perhaps try making sure you're using 3.8 in /etc/apk/repositories=C2=A0and running a full upgrade, then rebooting?

-----
Sincerely / Med vennlig hilsen,
Dan= iel Isaksen <d@duniel.n= o> (https://duniel.n= o)

On Tue, Sep 18, 2018 at 9:13 PM, Brent B. Po= wers <brent.b.powers@gmail.com> wrote:
It is more than possible that I = am using edge (although I don't recall making that decision). Is there = a way of moving from edge to 3.8?

On Tue, Sep 18, 2018 at 3:00 PM Daniel Isaksen= <d@duniel.no> w= rote:
Are you using edge?

<= div>Kernel modules are built against a specific kernel version, and if you = upgrade either, you need to upgrade the other. I.e. if you upgraded iptable= s, you need to upgrade the kernel as well, or install iptables built agains= t the kernel version you are running.

Also, after = upgrading the kernel, you need to reboot the machine.

-----
Sincerely / Med = vennlig hilsen,
Daniel Isaksen <d@duniel.no> (https://duniel.no)

On Tue, Sep 18, 2018 at 8:10 PM, Brent B. Po= wers <brent.b.powers@gmail.com> wrote:

I've throw= n Alpine onto a raspberry 2 to use as a DNS server, via a sys-type installa= tion. I've got my DNS going just fine, but I'm getting hammered by = ssh attempts. The obvious situation is sshguard, but that requires (nowaday= s) a firewall.

I've apk'd iptables, but the = service won't run, as there's no kernel support. And here's the= rub: I can't modprobe ip_tables.ko, as modprobe is looking for it in 4= .14.52-0-rpi2, and I've got it in 4.14.69-0-rpi2. I don't know how = that happened, but neither insmod or modprobe is letting me past it (actual= ly, insmod is giving me an error about Unknown Symbols).


To compound my difficulties, I'm m= ore of a bsd person than linux, so, please, be gentle. cheers, and thanks f= or the help.




--000000000000bd92ac05762b6e40-- --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---