Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Trouble with setting up wireless access point

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
BBmine
Posts: 5
Joined: 2018-09-01 21:01
Location: USA

Trouble with setting up wireless access point

#1 Post by BBmine »

I tried configuring my Debian testing desktop to be a WAP, but I'm having an issue. On my laptop, I can see that WAP listed as an available WiFi network to connect to, but when I try to connect and type the password, the connection tries to load for a bit and then fails.

Here's my /etc/NetworkManager/system-connections/Hotspot

Code: Select all

id=Hotspot
uuid=[UUID code]
type=wifi
interface-name=wlp2s0
permissions=

[wifi]
band=bg
mac-address=[mac-address]
mac-address-blacklist=
mode=ap
ssid=[ssid]

[wifi-security]
key-mgmt=wpa-psk
psk=[password]

[ipv4]
dns-search=
method=shared

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto
Note: uuid, mac-adress, ssid, and psk have real values, but I took it out for sharing purposes.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Trouble with setting up wireless access point

#2 Post by bw123 »

I've never use networkmanager for this, but have you thought it might be necessary to setup something like dnsmasq to assign addresses?
resigned by AI ChatGPT

BBmine
Posts: 5
Joined: 2018-09-01 21:01
Location: USA

Re: Trouble with setting up wireless access point

#3 Post by BBmine »

bw123 wrote:I've never use networkmanager for this, but have you thought it might be necessary to setup something like dnsmasq to assign addresses?
I have thought about that, but ideally I'd like the WAP to forward it to the router and let it assign the addresses.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Trouble with setting up wireless access point

#4 Post by bw123 »

BBmine wrote:
bw123 wrote:I've never use networkmanager for this, but have you thought it might be necessary to setup something like dnsmasq to assign addresses?
I have thought about that, but ideally I'd like the WAP to forward it to the router and let it assign the addresses.
I don't know where in nm-settings file the dhcp server is assigned. I guess maybe if the AP is on the same net as the router, then connections will find it? Have you tries a static address for the AP?

maybe if you post the info from 'ip a' or some other ip commands on the machine running the ap then someone can help with the routing.
resigned by AI ChatGPT

BBmine
Posts: 5
Joined: 2018-09-01 21:01
Location: USA

Re: Trouble with setting up wireless access point

#5 Post by BBmine »

@bw123 You mean configuring the router to give the AP a static IP?

Output from ifconfig:

Code: Select all

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.11  netmask 255.255.254.0  broadcast 192.168.1.255
        inet6 fe80::6600:6aff:fe3b:2503  prefixlen 64  scopeid 0x20<link>
        inet6 2602:306:8b05:43d0:6600:6aff:fe3b:2503  prefixlen 64  scopeid 0x0<global>
        ether 64:00:6a:3b:25:03  txqueuelen 1000  (Ethernet)
        RX packets 301615117  bytes 335416649932 (312.3 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 255333873  bytes 234905768735 (218.7 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 1305247  bytes 2039827566 (1.8 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1305247  bytes 2039827566 (1.8 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.42.0.1  netmask 255.255.255.0  broadcast 10.42.0.255
        inet6 fe80::f11d:ec9a:724f:7701  prefixlen 64  scopeid 0x20<link>
        ether 4c:bb:58:d2:46:23  txqueuelen 1000  (Ethernet)
        RX packets 37  bytes 4775 (4.6 KiB)
        RX errors 0  dropped 16  overruns 0  frame 0
        TX packets 303  bytes 60646 (59.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Trouble with setting up wireless access point

#6 Post by bw123 »

ap is on a different network "broadcast 10.42.0.255"

you should use the ip command, instead of deprecated ifconfig. Other people on here will probably be able to help if you post the right info.
Last edited by bw123 on 2019-01-12 00:03, edited 1 time in total.
resigned by AI ChatGPT

BBmine
Posts: 5
Joined: 2018-09-01 21:01
Location: USA

Re: Trouble with setting up wireless access point

#7 Post by BBmine »

bw123 wrote:ap is on a different network "broadcast 10.42.0.255"
How can I fix that?

Post Reply