Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Auto-connect to hidden 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
lixo1
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2010
Posts: 84

PostPosted: Sat Feb 25, 2012 10:19 am    Post subject: Auto-connect to hidden wifi Reply with quote

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
View user's profile Send private message
pigeon768
l33t
l33t


Joined: 02 Jan 2006
Posts: 683

PostPosted: Sat Feb 25, 2012 12:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
lixo1
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2010
Posts: 84

PostPosted: Sat Feb 25, 2012 12:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Sat Feb 25, 2012 2:47 pm    Post subject: Reply with quote

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
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