Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Linksys WUSB600N and Gentoo, please help needed. [SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Mercurioneo
n00b
n00b


Joined: 11 Jan 2015
Posts: 67

PostPosted: Thu Jan 15, 2015 6:59 am    Post subject: Reply with quote

charles17 wrote:
Mercurioneo wrote:
code

modules_<your wireless NIC's name>="wpa_supplicant"
wpa_supplicant_<your wireless NIC's name>="-Dnl80211"
wpa_timeout_<your wireless NIC's name>=30

iwconfig_<your wireless NIC's name>_mode="Managed"
dhcpcd_<your wireless NIC's name>="-t 10"
config_<your wireless NIC's name>="dhcp"


code
Your setup looks very complicated. Guess you're having net.wlp0s29f7u1 in a runlevel? You can check your runlevels with
Quote:
$ rc-config show all
and
Quote:
$ rc-config list

And for testing if your setup could be simplified you could temporarily remove net.wlp0s29f7u1 from the runlevels and put dhcpcd instead
Quote:
# /etc/init.d/net.wlp0s29f7u1 stop
# rc-update del net.wlp0s29f7u1
# /etc/init.d/dhcpcd start
# rc-update add dhcpcd default
After reboot, it should work out of the box. If so, you could cleanup from netifrc. If not you still could return to net.wlp0s29f7u1.


I have done it, ant it's working :),
1 please let me know how can I optimize the configuration of net file and wpa_supplicant. Should I change/remove any line?
2. What should I do to cleanup from netifric?
3. If I run rc-config show all, I can still see net.wlp0s29f7u1 but without any tag as boot or default is this ok?

Thanks so much.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Jan 15, 2015 8:01 am    Post subject: Reply with quote

Mercurioneo wrote:
1 please let me know how can I optimize the configuration of net file and wpa_supplicant. Should I change/remove any line?
See 2. And, in case you are going to use wpa_supplicant you'd better use "GROUP=wheel".
Mercurioneo wrote:
2. What should I do to cleanup from netifric?
See http://i.imgur.com/RndrNcw.png from the wiki.
Mercurioneo wrote:
3. If I run rc-config show all, I can still see net.wlp0s29f7u1 but without any tag as boot or default is this ok?
Did you mean $ rc-config list?
After cleanup, it should no longer have any net.* service listed. It should show dhcpcd in default and wpa_supplicant not assigned.
Quote:
$ rc-config list | grep 'dhcpcd\|net\.\|wpa_supplicant'
dhcpcd default
wpa_supplicant
Back to top
View user's profile Send private message
Mercurioneo
n00b
n00b


Joined: 11 Jan 2015
Posts: 67

PostPosted: Thu Jan 15, 2015 9:20 am    Post subject: Reply with quote

charles17 wrote:
Mercurioneo wrote:
1 please let me know how can I optimize the configuration of net file and wpa_supplicant. Should I change/remove any line?
See 2. And, in case you are going to use wpa_supplicant you'd better use "GROUP=wheel".
Mercurioneo wrote:
2. What should I do to cleanup from netifric?
See http://i.imgur.com/RndrNcw.png from the wiki.
Mercurioneo wrote:
3. If I run rc-config show all, I can still see net.wlp0s29f7u1 but without any tag as boot or default is this ok?
Did you mean $ rc-config list?
After cleanup, it should no longer have any net.* service listed. It should show dhcpcd in default and wpa_supplicant not assigned.
Quote:
$ rc-config list | grep 'dhcpcd\|net\.\|wpa_supplicant'
dhcpcd default
wpa_supplicant


I have follow all the steps and it is still working :). Rc-config only shows dhcpcd as default and wpa_applicant not assignet.
Can I delete wpa_applicant.conf? How does the system know that should use my ssid if I remove that file?
Sorry for my ignorance :oops:
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Jan 15, 2015 9:24 am    Post subject: Reply with quote

Mercurioneo wrote:
Can I delete wpa_applicant.conf?
No, that one's needed and very important. Only net.* script crap to be deleted. and netifrc to be unmerged.
Back to top
View user's profile Send private message
Mercurioneo
n00b
n00b


Joined: 11 Jan 2015
Posts: 67

PostPosted: Thu Jan 15, 2015 9:45 am    Post subject: Reply with quote

charles17 wrote:
Mercurioneo wrote:
Can I delete wpa_applicant.conf?
No, that one's needed and very important. Only net.* script crap to be deleted. and netifrc to be unmerged.


Ok I see, I have added GROUP=wheel, and I have created an user out of wheel group, but still have internet connection, maybe is a stupid question, but what is the purpose of add GROUP=wheel then?

Thanks again.

Could you recommend me some guide to understand all these things?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Jan 15, 2015 10:15 am    Post subject: Reply with quote

Mercurioneo wrote:
Ok I see, I have added GROUP=wheel, and I have created an user out of wheel group, but still have internet connection, maybe is a stupid question, but what is the purpose of add GROUP=wheel then?

Thanks again.

Could you recommend me some guide to understand all this things?

There are lots of information. First of all do
Quote:
$ groups
Then read
Quote:
$ man 1 groups
$ man 8 wpa_supplicant
$ man 5 wpa_supplicant.conf
Back to top
View user's profile Send private message
Mercurioneo
n00b
n00b


Joined: 11 Jan 2015
Posts: 67

PostPosted: Thu Jan 15, 2015 10:43 am    Post subject: Reply with quote

charles17 wrote:
Mercurioneo wrote:
Ok I see, I have added GROUP=wheel, and I have created an user out of wheel group, but still have internet connection, maybe is a stupid question, but what is the purpose of add GROUP=wheel then?

Thanks again.

Could you recommend me some guide to understand all this things?

There are lots of information. First of all do
Quote:
$ groups
Then read
Quote:
$ man 1 groups
$ man 8 wpa_supplicant
$ man 5 wpa_supplicant.conf


Thank you so much, regarding what you say about adding GROUP=wheel, I think is the same as my line ctrl_interface_group=0 in my wpa_supplicant.conf, isn't it?
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
Goto page Previous  1, 2
Page 2 of 2

 
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