Deutsch English Français Italiano |
<v2jfbv$r9d0$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: <bp@www.zefox.net> Newsgroups: comp.sys.raspberry-pi Subject: Re: Setting a manual IP address Date: Wed, 22 May 2024 00:47:59 -0000 (UTC) Organization: A noiseless patient Spider Lines: 48 Message-ID: <v2jfbv$r9d0$1@dont-email.me> References: <v20bf0$asah$1@dont-email.me> <v2bei9$30kmg$2@dont-email.me> <v2ddtk$3g8gc$1@dont-email.me> <sm0pltf5yyf.fsf@lakka.kapsi.fi> Injection-Date: Wed, 22 May 2024 02:47:59 +0200 (CEST) Injection-Info: dont-email.me; posting-host="9d39bc4c6eb8ffcc84c6b39a09d74346"; logging-data="894368"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/kmtSV1NPX0ZUGT4Tn1yV7dlHP/EDU1vQ=" User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (FreeBSD/14.0-RELEASE-p5 (arm64)) Cancel-Lock: sha1:+k7H+4lX9QeYbRNTXJAJ2n2ccHw= Bytes: 2968 Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> wrote: > <bp@www.zefox.net> writes: > >> At the same time, I'd like to enable a second connection using an >> ethernet-to-WiFi bridge on eth0 using something like >> >> auto eth0 >> iface eth0 inet static >> address 192.168.1.8/24 >> gateway 192.168.1.254 >> >> Is that all it takes? Presently both /etc/network/interfaces >> and /etc/network/interfaces.d are empty. > > Those files are used by ifupdown which is a package you can > install. It's the Debian default even today but I don't think Raspios > follows that. In fact, as I recall, earlier they had a strange > hodgepodge script launched by the DHCP client and then I think they > moved to NetworkManager. > > So if you want specific help, always mention Raspios version. Well, uname -a reports: Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux I can't find anything that reports a plain-language name, and unfortunately don't remember what was installed/upgraded since the system was set up, apparently in 2022. The "about raspi-config" menu metions: Version: 20231012~bullseye but I'm not entirely sure that's the system name. If there's an "about this computer" command hidden somewhere please clue me in. > Anyways, just adding stuff to /etc/network/interfaces isn't going to do > anything and if you go and install ifupdown it might screw up your > network setup. So I'd work with whatever you have and add the ethernet > connection there. Or if it's just for experimentation all you need to do > is to run ifconfig and route or the newer ip commands for same. The intent for now is just experimentation, but internal WiFi performance has degraded noticeably in the last couple of years, I think because of interference. If adding an ethernet-wifi bridge with a bigger, moveable antenna helps I might want to make it permanent. Thanks for the cautionary advice bob prohaska