View previous topic :: View next topic |
Author |
Message |
lixo1 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Sep 2010 Posts: 84
|
Posted: Sat Feb 25, 2012 10:19 am Post subject: Auto-connect to hidden wifi |
|
|
Dear all,
I'm using gentoo with kde, and after setting up a hidden network,
every login, the automatic connection fails, the only way to connect
is opening a root terminal and typing:
Code: | iwconfig eth1 essid <hidden network name = Calc> |
Do you know how can I avoid the hand step iwconfig?
Here my /etc/conf.d/net
Code: | #Generated by NetworkManager
###### Global Configuration ######
###### Connection Configuration ######
#----------------------------------
auto_Calc="true"
config_Calc=(
"dhcp"
"dhcp6"
)
enable_ipv6_Calc="true"
#----------------------------------
enable_ipv6_eth0="false"
auto_eth0="true"
config_eth0=( "dhcp" )
|
Thank you very much for any kind of help! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pigeon768 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 02 Jan 2006 Posts: 683
|
Posted: Sat Feb 25, 2012 12:18 pm Post subject: |
|
|
I don't know about NetworkManager -- is there an option for it in the GUI? Using nmcli is problematic at best. (which is why I don't use it)
If you used wpa_supplicant it would be something like this: Code: | network={
ssid="ssid"
key_mgmt=WPA-PSK
psk="your_pre_shared_key"
scan_ssid=1
} | The scan_ssid= is the important bit.
Is there a specific reason you're hiding your SSID? It is not, contrary to popular belief, any more secure than broadcasting your SSID. If your organization forces hidden ssids on you, that's unfortunate, but don't do this to yourself on purpose.
Just make sure you're using WPA2 with AES and a strong PSK. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lixo1 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Sep 2010 Posts: 84
|
Posted: Sat Feb 25, 2012 12:39 pm Post subject: |
|
|
Unfortunately it's the university wifi, which is not wpa, we do not need to provide any wifi password, when I get the connection you put your credentials on a browser webpage.
Do you have any other hint? The strange thing is that on kubuntu, after setting the hidden network, it connects automatically, and that is not true for gentoo. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Rexilion Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/13156532244b6fe587ac03b.jpg)
Joined: 17 Mar 2009 Posts: 1044
|
Posted: Sat Feb 25, 2012 2:47 pm Post subject: |
|
|
The fact that this works on Kubuntu could relate to a firmware/kernel combination that doesn't seem to work.
Are you sure you explicitly added the network as a 'hidden' in NM under Gentoo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|