You are not logged in.

#126 2012-04-14 10:42:44

dying_sphynx
Member
From: Kiev, Ukraine
Registered: 2008-03-22
Posts: 44
Website

Re: wifi-select: for selecting wifi network from console (based on netcfg)

As per request from Unia, I have added a new option "--use-dhclient" which allows to use "dhclient" instead of "dhchpcd" in generated profiles (it just adds USE_DHCLIENT="yes" to the profiles). I hope it will be useful. This option is available in the latest github version:
https://github.com/sphynx/wifi-select/

I hope it will be released as new 1.2 version in Arch packages soon.


With best regards,
Ivan N. Veselov.

Offline

#127 2012-04-14 11:12:40

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: wifi-select: for selecting wifi network from console (based on netcfg)

Thank you very much!


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#128 2012-05-01 23:12:56

Awebb
Member
Registered: 2010-05-06
Posts: 6,272

Re: wifi-select: for selecting wifi network from console (based on netcfg)

A lot of thanks from me as well. I just discovered this little gem and it is worth every penne. Wait...

Offline

#129 2012-05-13 19:35:31

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: wifi-select: for selecting wifi network from console (based on netcfg)

From https://bbs.archlinux.org/viewtopic.php?id=141476 you'll see that wifi-select is still working better for me than the new tool wifi-menu which comes with netcfg!
(Seems that iwlist is a happier way of scanning for networks than using wpa supplicant.)
wink

Last edited by ninian (2012-05-13 20:21:14)

Offline

#130 2012-05-18 12:20:31

DarwinSurvivor
Member
Registered: 2009-08-05
Posts: 10

Re: wifi-select: for selecting wifi network from console (based on netcfg)

I think I found a bug!

If you connect to a network that has a special character (such as "$") in the name or password, it will fail to connect because wifi-select uses full quotes " instead of apostraphes ' in the generated network.d/ configuration file which causes netcfg to try to INTERPRET the value instead of simply reading. Changing the "s to 's should fix the problem

Ex: currently the password field will be
password = "my$superpassword"
which will make it think that $mysuperpassword is a variable (which is blank) and cause the password to become "my"
It *should* be
password = 'my$superpassword'
This way the password is not interpreted but simply read.

The password field is currently and issue for me, but the other fields use the same system and are thus also susceptible to this problem.

Also note: the 's should be escaped (as they are a 100% legal password character).

I am running:
netcfg 2.8.2-1
wifi-select 1.2-1


Steps to reproduce:
Connect to any wifi network where the ESSID or password contain a special "sh" or "bash" character (", ', $, etc) that are interpreted within quotes.

Offline

#131 2012-06-18 13:16:11

antihero
Member
Registered: 2012-06-18
Posts: 13

Re: wifi-select: for selecting wifi network from console (based on netcfg)

Hello, could you possible remove the dependency on initscripts for us people who are using systemd?

Thanks

Offline

#132 2012-06-18 13:41:21

Awebb
Member
Registered: 2010-05-06
Posts: 6,272

Re: wifi-select: for selecting wifi network from console (based on netcfg)

This does not seem to come from wifi-select:

https://aur.archlinux.org/packages.php?ID=49159

Dependencies: dialog netcfg

Offline

#133 2012-06-18 17:32:32

irtigor
Member
Registered: 2011-01-21
Posts: 44

Re: wifi-select: for selecting wifi network from console (based on netcfg)

The version in the official repo depends on initscript.
https://bugs.archlinux.org/task/30341?p … ifi-select

Offline

#134 2012-06-18 18:42:35

Awebb
Member
Registered: 2010-05-06
Posts: 6,272

Re: wifi-select: for selecting wifi network from console (based on netcfg)

I'm puzzled:

$ pacman -Si wifi-select | grep Depends
Depends On     : netcfg  dialog  wireless_tools

Offline

#135 2012-08-24 16:11:54

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: wifi-select: for selecting wifi network from console (based on netcfg)

Netcfg now includes wifi-menu which has the same functionality as wifi-select.


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#136 2012-08-25 00:07:23

DarwinSurvivor
Member
Registered: 2009-08-05
Posts: 10

Re: wifi-select: for selecting wifi network from console (based on netcfg)

Woah, I had no idea wifi-menu was even there! Gonna try using that now smile

Offline

Board footer

Powered by FluxBB