Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
messed up wifi
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Chris1969
n00b
n00b


Joined: 31 Dec 2017
Posts: 25
Location: switzerland

PostPosted: Sat Mar 14, 2020 3:47 pm    Post subject: messed up wifi Reply with quote

Hello
I had for years on my laptop the possibility of switching between wired and wireless networking (managed by wicd and ifpluged and gentoo netifrc scripts).
I recently ran into problems and decided after having realised that wicd will be removed from portage soon to give another method a try.
Meanwhile I have tried dhcpcd with wpa-supplicant or iwd and ended up with networkmanager (so gentoo netifrc scripts are gone). But none works for me for the wireless case.
Might it be related to power management of my Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)?
Code:
iw dev

gives me
Code:
phy#0
   Interface wlo1
      ifindex 4
      wdev 0x1
      addr 00:00:00:00
      type managed
      txpower 0.00 dBm

and
Code:
ip addr

Code:
4: wlo1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000


I know this is far from being structured, I have to admit I have no clue how to address this problem.
Maybe someone can guide me?
THanks Chris

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
Chris1969
n00b
n00b


Joined: 31 Dec 2017
Posts: 25
Location: switzerland

PostPosted: Sat Mar 14, 2020 3:58 pm    Post subject: Reply with quote

Suddenly it seems to work; I have to check further. If I need help, I will come back!
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3062

PostPosted: Sat Mar 14, 2020 4:07 pm    Post subject: Re: messed up wifi Reply with quote

Chris1969 wrote:
Meanwhile I have tried dhcpcd with wpa-supplicant ...

If you exactly followed the setup described on these two wiki articles, it should work
* https://wiki.gentoo.org/wiki/Network_management_using_DHCPCD
* https://wiki.gentoo.org/wiki/Wpa_supplicant#Setup_for_dhcpcd_as_network_manager
Back to top
View user's profile Send private message
Chris1969
n00b
n00b


Joined: 31 Dec 2017
Posts: 25
Location: switzerland

PostPosted: Sat Mar 14, 2020 6:30 pm    Post subject: Reply with quote

Thanks for your reply; I will check when I have time.
What I noticed up to now, I can scan now with wpa_supplicant and add connections; however it continuously disconnects..

One question, regarding your mentioned articles:
Do these intend to have either wired or wireless connections? I was used to have a static IP with wicd regardless of wired or wireless. Now with networkmananager I seem to have two connections..
Should I install ifpluged again?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3062

PostPosted: Sat Mar 14, 2020 7:17 pm    Post subject: Reply with quote

Chris1969 wrote:
Thanks for your reply; I will check when I have time.
What I noticed up to now, I can scan now with wpa_supplicant and add connections; however it continuously disconnects..

One question, regarding your mentioned articles:
Do these intend to have either wired or wireless connections?

It is a magic of dhcpcd. It happens when you plug/unplug the network cable.
No need for ifplugd or the likes.
https://wiki.gentoo.org/wiki/Network_management_using_DHCPCD#Setup wrote:
This setup deviates from the default networking instructions in the Gentoo Handbook. It has the advantage that it provides automatic switching between wired and wireless network interfaces.


Chris1969 wrote:
I was used to have a static IP with wicd regardless of wired or wireless. Now with networkmananager I seem to have two connections..
Should I install ifpluged again?

For static IP see https://wiki.gentoo.org/wiki/Dhcpcd#Static_IP_addresses. Regarding networkmananager I have no clue, sorry.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum