Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1804  / 3 Years ago, wed, june 9, 2021, 12:07:37

for some time I've been using local WPE wi-fi, which was simply managed using iwconfig, using the following line of commands on the startup:



sudo modprobe wl && sudo ifconfig eth1 up && sudo iwconfig eth1 essid <my_network_name> && sudo dhclient eth1


however, things have changed and now I need to use WPA-2 type of connection



to achieve that, I've downloaded and installed Wicd network manager, which starts to detect connections after I execute the following:



sudo modprobe wl && sudo ifconfig eth1 up


the problem is, despite it works fine connecting to WPE, it completely fails to get along with WPA-2: when I enter 'properties' for my WPA-2 connection, I can't save any keys I enter, nor 'cancel' or 'ok' buttons seem to work anyhow



at last, I've tried to read manuals and configure /etc/network/interfaces, having the following:



iface eth1 inet dhcp
wpa-driver wext
wpa-ssid <my_wifi_name>
wpa-ap scan 1
wpa-proto RSN
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk <my_pass_HEX>
auto eth1


I've commented what I had there before:



auto lo
iface lo inet loopback


sadly, when my system loads it takes several minutes at the boot configuring the network, which ends with no success



so, since nicely working Wicd manager would be the best option, I'd gladly use any possible method to get online again.



I'm running Linux Mint 14 Nadia kernel 3.9.3


More From » wireless

 Answers
7

First of all, the loopback entries must be included. I suggest this /etc/network/interfaces file:



auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp
wpa-ssid <my_wifi_name>
wpa-psk <my_pass_HEX>


Now get the system to re-read and use the changes:



sudo ifdown eth1 && sudo ifup -v eth1


The '-v' is for verbose; some additional information will be available to show what's happening as it tries to connect.



Does it now connect on boot?


[#30067] Thursday, June 10, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lawain

Total Points: 150
Total Questions: 106
Total Answers: 101

Location: China
Member since Mon, Aug 22, 2022
2 Years ago
lawain questions
;