Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network configuration fails after openrc update
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
p04ty
n00b
n00b


Joined: 09 Apr 2011
Posts: 55

PostPosted: Wed Jul 11, 2012 8:41 am    Post subject: Network configuration fails after openrc update Reply with quote

I've got this configuration of Wi-Fi (/etc/conf.d/net):
Code:
wpa_supplicant="-D wext -c /etc/wpa_supplicant/wpa_supplicant.conf"                                                 
                                                                                                                     
config_wlan0="10.0.0.3 netmask 255.255.255.0"                                                                       
dns_servers_avlink="194.204.152.34 194.204.159.1 10.0.0.1"                                                           
routes_avlink="default via 10.0.0.1"                                                                                 
auto_avlink="true"                                                                                                   
config_avlink="10.0.0.3"                                                                                             
enable_ipv6_avlink="false"                                                                                           
                                                                                                                     
config_wlan0="dhcp"                                                                                                 
dns_servers_dro="194.204.152.34 194.204.159.1 10.0.0.1"                                                             
routes_dro="auto"                                                                                                   
auto_dro="true"                                                                                                     
config_dro="dhcp"


It's working fine on sys-apps/openrc-0.9.9.3. It manages automatical connection to the proper router after I turn my laptop on. After updating to any openrc above that configuration fails.
How do I fix that to work on openrc-10.*?
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Wed Jul 11, 2012 1:17 pm    Post subject: Re: Network configuration fails after openrc update Reply with quote

p04ty ...

"config_SSID" overrides interface settings "config_${IFACE}" so there was some doubling, I've removed them but I'm fairly sure they were not the cause of the problem. Infact, I'm not quite sure what is, but without further information on exactly how it fails then its difficult to say. Anyhow, the following would seem correct to me:

Code:
modules_wlan0="wpa_supplicant"
wpa_supplicant_wlan0="-Dwext"
preferred_aps_wlan0="avlink dro"

config_avlink="10.0.0.3/24"
dns_servers_avlink="194.204.152.34 194.204.159.1 10.0.0.1"
routes_avlink="default via 10.0.0.1"
enable_ipv6_avlink="false"

config_dro="dhcp"
#dhcpcd_dro="-t 10"
dhcp_dro="nodns"
dns_servers_dro="194.204.152.34 194.204.159.1 10.0.0.1"

HTH & best ...

khay
Back to top
View user's profile Send private message
p04ty
n00b
n00b


Joined: 09 Apr 2011
Posts: 55

PostPosted: Tue Jul 17, 2012 8:51 am    Post subject: Reply with quote

That doesn't work. "dro" ssid connects, but not avlink.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Tue Jul 17, 2012 12:26 pm    Post subject: Reply with quote

p04ty wrote:
That doesn't work. "dro" ssid connects, but not avlink.

p04ty ... and "doesn't work" doesn't provide me with any information as to why! So, unless you provide some idea of what you mean by "connects", and some idea of what happens (ie logs, command output, wpa_supplicant.conf, etc) then I can't possibly provide you with some means of going about correcting it. As I said, "I'm fairly sure they were not the cause of the problem. Infact, I'm not quite sure what is, but without further information on exactly how it fails then its difficult to say" ... and that situation stands.

best ... khay
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