0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

manjaro linux のパソコンを wifi ルーターにする create_ap  systemctl 

Last updated at Posted at 2021-09-15

のとおりです

manjaroでしました

yay -Sy create_ap-git

使用したUSB wifiは

Photo Marker_20210915_112000.jpg

#  cat /etc/systemd/system/ap.service
[Unit]
Description = wifi access point

[Service]
ExecStart = /home/jaro/ap.bat
Restart = always
Type = simple

[Install]
WantedBy = multi-user.target
# cat /home/jaro/ap.bat
# !/bin/sh

create_ap --isolate-clients wlp0s29u1u2 enp0s26u1u1 AP 12122345

# ifconfig 
enp0s26u1u1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.90.230  netmask 255.255.255.0  broadcast 192.168.90.255

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.30.1  netmask 255.255.255.0  broadcast 192.168.30.255

wlp0s26u1u2: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
      

systemctl start ap.service
すると

]# ifconfig 
enp0s26u1u1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.90.230  netmask 255.255.255.0  broadcast 192.168.90.255
      

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.30.1  netmask 255.255.255.0  broadcast 192.168.30.255
 


wlp0s29u1u2: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500 <--ここです
        inet 192.168.12.1  netmask 255.255.255.0  broadcast 192.168.12.255




以下のように動いてます

Photo Marker_20210915_142004.jpg

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?