Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
static IPs with NetworkManager in multiple WLANs?
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
jakob-andreas
n00b
n00b


Joined: 19 Aug 2005
Posts: 53
Location: East-Germany

PostPosted: Sun Jun 07, 2009 4:56 pm    Post subject: static IPs with NetworkManager in multiple WLANs? Reply with quote

hi and good evening,

i have a new horstbox (wlan router, dsl-modem, ...) and 4 computers that use the internet connection of the horstbox in my lan. the horstbox is configured to be a dhcp-server and the access point of my wlan. now i want to disable the dhcp-server and use static ips in my lan. this should not be the problem.
BUT: i use my laptop at the university and the wlan there (with dhcp), and i also use the wlan at home. so i decided to use the (k)networkmanager. my question is now, how can is set up / configure my wlan-device that it will use the correct configuration in the correct wlan? and how can i configure networkmanager to use a hidden essid?

thanks for all hints, tipps and tricks!

jakob
Back to top
View user's profile Send private message
aidanjt
Veteran
Veteran


Joined: 20 Feb 2005
Posts: 1118
Location: Rep. of Ireland

PostPosted: Sun Jun 07, 2009 5:01 pm    Post subject: Reply with quote

I don't know about networkmanager, but I know gentoo's net initscript and wpa_supplicant can handle per-ssid configurations. Perhaps if you set these, networkmanager will know what to make of them.
_________________
juniper wrote:
you experience political reality dilation when travelling at american political speeds. it's in einstein's formulas. it's not their fault.
Back to top
View user's profile Send private message
jakob-andreas
n00b
n00b


Joined: 19 Aug 2005
Posts: 53
Location: East-Germany

PostPosted: Mon Jun 08, 2009 8:12 am    Post subject: Reply with quote

ok, i found the per-essid-configuration in the gentoo handbook. this is what i have done:
Code:

modules=("wpa_supplicant")
wpa_supplicant_wlan0="-Dwext"
config_myssid=("192.168.1.3 netmask 255.255.255.0 broadcast 192.168.1.255")
routes_myssid=("default via 192.168.1.1")
dns_servers_myssid=("192.168.1.1")
config_universityssid=("dhcp")

and it works for my network when i manually start /etc/init.d/net.wlan0 and set wlan0 up with ifconfig. but networkmanager cannot connect to my wlan.
have i to define something i don't know or seems it to be impossible?

thanks!
Back to top
View user's profile Send private message
jakob-andreas
n00b
n00b


Joined: 19 Aug 2005
Posts: 53
Location: East-Germany

PostPosted: Mon Jun 08, 2009 12:34 pm    Post subject: Reply with quote

ok, i simply removed networkmanager from the bootlevels and let wlan0 start at boot-time. now the wpa_supplicant starts directly and it seems taht i am connected to the correct acces point.
is there a way to check where i am connected?

jakob
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