Page 1 of 8

Posted: Tue 05 Apr 2016, 20:06
by stemsee
Cool @ corvus

The browser icon is missing from the package!!!

For those who don't want random mac address assignments simply leave mac address input box empty and uncheck random mac box!
For those who want a random mac address leave box checked and empty mac address input box.
For those who want regular mac address during scan but random during connection leave as is, entry filled and box checked!

Posted: Tue 05 Apr 2016, 20:25
by corvus
For info this is what i get when I run wifi-connect from terminal as you can see there is some error, thought:

Code: Select all

root# wifi-connect
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
awk: cmd. line:1: {print $2
awk: cmd. line:1:          ^ unexpected newline or end of string
EXIT="Exit on timeout"
/usr/sbin/wifi-connect: line 123: LegioXXI|Can: command not found
rm: cannot remove ‘/var/run/wpa_supplicant/wlan0’: No such file or directory
Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
dhcpcd[10342]: version 5.5.6 starting
dhcpcd[10342]: all: not configured to accept IPv6 RAs
EXIT="Exit on timeout"
EXIT="Exit on timeout"
dhcpcd[10342]: eth0: broadcasting for a lease
dhcpcd[10342]: wlan0: waiting for carrier
dhcpcd[10342]: wlan0: carrier acquired
dhcpcd[10342]: wlan0: broadcasting for a lease
dhcpcd[10342]: wlan0: offered 192.168.1.120 from 192.168.1.1
dhcpcd[10342]: wlan0: acknowledged 192.168.1.120 from 192.168.1.1
dhcpcd[10342]: wlan0: checking for 192.168.1.120
EXIT="Exit on timeout"
dhcpcd[10342]: wlan0: leased 192.168.1.120 for 86400 seconds
dhcpcd[10342]: forked to background, child pid 10503
EXIT="Exit on timeout"
Regards.

Posted: Tue 05 Apr 2016, 21:20
by stemsee
I found the source of the errors ... Errors corrected now!

Posted: Sat 09 Apr 2016, 13:30
by stemsee
Fixed a couple bugs and added tray menu for saved profiles, so can connect directly using saved profile = 'wifiprofi' script

Posted: Sat 09 Apr 2016, 14:18
by corvus
Hi Stemsee, the last version works fine for me. Below is the terminal output, I don't know if the lines in which appears "command not found" and "No such file or directory" they are errors or is normal as well.

Code: Select all

root# wifi-connect
killall: wpa_supplicant: no process killed
dhcpcd[20361]: version 5.5.6 starting
dhcpcd[20361]: all: not configured to accept IPv6 RAs
dhcpcd[20361]: no interfaces have a carrier
dhcpcd[20361]: forked to background, child pid 20390
EXIT="Exit on timeout"
/usr/sbin/wifi-connect: line 115: LegioXXI|Can: command not found
rm: cannot remove ‘/var/run/wpa_supplicant/wlan0’: No such file or directory
Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
EXIT="Exit on timeout"
EXIT="Exit on timeout"
EXIT="Exit on timeout"
EXIT="Exit on timeout"
root#
The browser icon is still missing, for info I use Slimjet-9.0.1-x64.sfs.

Bye.

Posted: Sat 09 Apr 2016, 21:05
by stemsee
Try this one!
Does it actually connect you to your wifi network?

Posted: Sat 09 Apr 2016, 22:15
by corvus
stemsee wrote: Does it actually connect you to your wifi network?
Yes I can connect both WiFi and ethernet with no problems. I just wanted let you know that in the output from the terminal I noticed those two errors, but the tool works well.
With the latest version, you have uploaded, I have the following terminal output:

Code: Select all

root# wifi-connect
dhcpcd[16055]: version 5.5.6 starting
dhcpcd[16055]: all: not configured to accept IPv6 RAs
EXIT="Exit on timeout"
dhcpcd[16055]: no interfaces have a carrier
dhcpcd[16055]: forked to background, child pid 16086
/usr/sbin/wifi-connect: line 116: LegioXXI|Can: command not found
Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
EXIT="Exit on timeout"
EXIT="Exit on timeout"
EXIT="Exit on timeout"
EXIT="Exit on timeout"
but I can connect to wifi and ethernet and the browser icon now appears.

Greetings.

Posted: Sun 10 Apr 2016, 09:57
by stemsee
Saved Profile loading 'wifiprofi'

Posted: Thu 14 Apr 2016, 17:06
by stemsee
Improved a little!

When using saved profiles, it checks for actual wifi access point before attempting to join.

Also gives option to join with wlan1 if available, no option if not.

Shows ip address in tray.

Small gui improvements.

needs testers!

Still to do ....
wps
realtime update of available APs in tray.
Rewire hotspot to work without additional apps.

Posted: Thu 14 Apr 2016, 17:57
by Atle
Very exciting work...

Great...

I cross my fingers for the configuration for the hotspot to be in a way where clients are rerouted to for instants a local webserver---

Posted: Thu 14 Apr 2016, 19:24
by corvus
Hi Stemsee, tried wifi-connect,ethernet connection and wifiprofi, hade no issues to connect or disconnect, as before. Below the terminal outputs:

Code: Select all

# wifi-connect
killall: wpa_supplicant: no process killed
killall: dhcpcd: no process killed
dhcpcd[25080]: version 5.5.6 starting
dhcpcd[25080]: all: not configured to accept IPv6 RAs
EXIT="Exit on timeout"
dhcpcd[25080]: no interfaces have a carrier
dhcpcd[25080]: forked to background, child pid 25114
/usr/sbin/wifi-connect: line 135: LegioXXI|Can: command not found
Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
EXIT="Exit on timeout"
EXIT="Exit on timeout"
EXIT="Exit on timeout"

Code: Select all

# wifiprofi 
rm: cannot remove ‘/tmp/profs’: No such file or directory
EXIT="Exit on timeout"
rm: cannot remove ‘/tmp/profiscan’: No such file or directory
EXIT="Exit on timeout"
Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
dhcpcd[4548]: version 5.5.6 starting
dhcpcd[4548]: all: not configured to accept IPv6 RAs
EXIT="Exit on timeout"
dhcpcd[4548]: wlan0: broadcasting for a lease
dhcpcd[4548]: eth0: waiting for carrier
dhcpcd[4548]: wlan0: offered 192.168.1.121 from 192.168.1.1
dhcpcd[4548]: wlan0: acknowledged 192.168.1.121 from 192.168.1.1
dhcpcd[4548]: wlan0: checking for 192.168.1.121
EXIT="Exit on timeout"
dhcpcd[4548]: wlan0: leased 192.168.1.121 for 86400 seconds
dhcpcd[4548]: forked to background, child pid 4761
EXIT="Exit on timeout"
Is it possible to have an wifiprofi menu entry ?
Still no browser icon as shown below.

Regards.

P.S.: How do I write something after the image ?

Posted: Fri 15 Apr 2016, 05:41
by stemsee
Wifiprofi menu entry added and eduwifi entry and script removed ... as wifi-connect does a better job!

I am now working on the HotSpot element.

Thanks for testing!

Posted: Fri 15 Apr 2016, 05:45
by stemsee
corvus wrote: P.S.: How do I write something after the image ?
Do you mean in the tray menu?

Like this

Code: Select all

MENU="Text!command!image.png|text!command!image.png|"
That is the format. Using variables in any position is ok too.

Posted: Fri 15 Apr 2016, 06:27
by stemsee
browser icon and wifiprofi menu (eduwifi removed)! Menu entry corrected for ~/Startup/defaultwifi script generated by wifi-connect when default checkbox selected.

see few posts on

Just discovered your topic to-day. I will test.

Posted: Fri 15 Apr 2016, 07:17
by Pelo
Wifi tolls are a lot now. Pwireless, frisbee, peasyWifi, Peasyconnect.
Wifi-connect 2016... Nothing against, but take care they don't fight one each other. Then, wireless connection stops and restarts
It's necessary to kill absolutely all wireless tools before launching a a new searcH
Just discovered your topic to-day. I will test. I use Hot-spots, being far from my wife... and my ADSL box.

Posted: Fri 15 Apr 2016, 09:29
by Atle
EDUWIFI...

What is that? Sounds like something neat :-)

Posted: Fri 15 Apr 2016, 11:27
by stemsee
EDUWIFI is the name of my script for connecting to a university wifi 'eduroam'. I removed that discreet script because wifi-connect does the same job better!

Posted: Fri 15 Apr 2016, 11:29
by stemsee
@Pelo hotspot does not work yet!

Posted: Fri 15 Apr 2016, 12:47
by 8Geee
Pelo... what do you tink of Network Wizard, it was absent from your post. I find it very useful, and I don't really need SNS or Frisbee.

Stemsee... keep up the good work. Though I don't use anything you build (limited resourses with a netbook), these builds, pets, etc look fine for folks with a modern computer.

Posted: Fri 15 Apr 2016, 14:18
by stemsee
8Geee wrote:Stemsee... I don't use anything you build.
Network Wizard is standard in most pups, I think. It has been for a long time. I hope that everyone who dislikes my efforts to the point of criticising them without trying them first, using only lame excuses based upon their lack of funds to not download an 80kb wrapper, does not announce it here by redirecting attention to an established and well used alternative! In fact wifi-connect is the alternative!

If there is another connection tool that can connect your pc to an AP in fewer clicks, I will take it in preference over my own!? Even better 8Geee, how about YOU write one for us, combining all the best features, and packing it as you see fit to your fine standards?

kind regards
Stemsee