Re: [gentoo-user] Local mail server
On Sunday, 19 July 2020 15:18:32 BST I wrote: I think I'm nearly there, but still one config problem eludes me. The setup is fetchmail > postfix > dovecot. Postfix is trying to deliver some mail (not all) to me@this-workstation instead of to its own machine, and I can't see why. I've tried a couple of relay-host settings, but then I just get "warning: relayhost configuration problem" in the log, so relay-host is now back to its default value. Here's an excerpt from main.cf: myhostname = serv. mydomain = mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain I've tried omitting $mydomain from that last line, but it didn't help. Can anyone see what I'm missing? (More of main.cf if needed.) -- Regards, Peter.
Re: [gentoo-user] problem getting wifi card to route to internet
On Sat, 25 Jul 2020 05:31:32 -0400, Adam Carter wrote: > > [1 ] > On Saturday, July 25, 2020, John Covici wrote: > > > Hi. This is not strictly a gentoo problem, but I would like advise > > from people on how to get my wifi card to see the internet. > > > > On my new box I have the following card: > > 00:14.3 Network controller: Intel Corporation Wireless-AC 9560 > > [Jefferson Peak] (rev 10) > > Subsystem: Intel Corporation Wireless-AC 9560 [Jefferson Peak] > >Kernel driver in use: iwlwifi > > > > Now, I wanted to serve other computers with this device > > > > Have you set the default route and enabled ip forwarding? > > Also you don’t need to add a route for connected interfaces Thanks for your quick response. Packet forwarding is enabled and I am using shorewall to have normal firewall settings. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
Re: [gentoo-user] problem getting wifi card to route to internet
On Saturday, July 25, 2020, John Covici wrote: > Hi. This is not strictly a gentoo problem, but I would like advise > from people on how to get my wifi card to see the internet. > > On my new box I have the following card: > 00:14.3 Network controller: Intel Corporation Wireless-AC 9560 > [Jefferson Peak] (rev 10) > Subsystem: Intel Corporation Wireless-AC 9560 [Jefferson Peak] >Kernel driver in use: iwlwifi > > Now, I wanted to serve other computers with this device > Have you set the default route and enabled ip forwarding? Also you don’t need to add a route for connected interfaces
[gentoo-user] problem getting wifi card to route to internet
Hi. This is not strictly a gentoo problem, but I would like advise from people on how to get my wifi card to see the internet. On my new box I have the following card: 00:14.3 Network controller: Intel Corporation Wireless-AC 9560 [Jefferson Peak] (rev 10) Subsystem: Intel Corporation Wireless-AC 9560 [Jefferson Peak] Kernel driver in use: iwlwifi Now, I wanted to serve other computers with this device and so emerged hostapd. Then after some configuration fooling around with /etc/hostap/hostapd.conf, I got things to the point where the card comes up and is seen by other devices. I set the device up on its own network at 192.168.3.1 by using the following unit file: [Unit] Description=Network Connectivity for %i Documentation=man:ip Before=network.target Wants=network.target BindsTo=sys-subsystem-net-devices-%i.device After=sys-subsystem-net-devices-%i.device [Service] Type=oneshot RemainAfterExit=yes EnvironmentFile=/etc/conf.d/network@%i ExecStart=/bin/ip link set dev %i up ExecStart=/bin/ip addr add ${address}/${netmask} broadcast ${broadcast} dev %i ExecStart=-/bin/bash -c "test -n ${gateway} && /bin/ip route add default via ${gateway}" ExecStart=-/bin/bash -c "test -f /etc/conf.d/postup@%i.sh&&/bin/bash -c /etc/conf.d/postup@%i.sh" ExecStop=/bin/ip addr flush dev %i ExecStop=/bin/ip link set dev %i down ExecStop=-/bin/bash -c "test -f /etc/conf.d/postdown@%i.sh&&/bin/bash -c /etc/conf.d/postdown@%i.sh" [Install] WantedBy=multi-user.target and the following in /etc/conf.d/network@wlan0 address=192.168.3.1 netmask=24 broadcast=192.168.3.255 and also added the following route route add -net 192.168.3.0 netmask 255.255.255.0 dev eno1 but still I cannot get packets out to the internet. I can ping the device from my console, but that is it. I am not sure whether I am missing something in my hostapd.conf or somewhere else. Thanks in advance for any suggestions. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com