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
covici@ccs.covici.com
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
covici@ccs.covici.com