Wifi-Connect 2017B beta (Deprecated)

Message
Author
stemsee

#21 Post by stemsee »

Try this one!
Does it actually connect you to your wifi network?
Attachments
Wifi-Connect-3.pet
(82.51 KiB) Downloaded 263 times

User avatar
corvus
Posts: 153
Joined: Fri 12 Jun 2015, 18:00
Location: In the peninsula shaped like a boot.

#22 Post 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.
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]

stemsee

#23 Post by stemsee »

Saved Profile loading 'wifiprofi'
Attachments
wifi.png
(144.94 KiB) Downloaded 363 times

stemsee

#24 Post 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.
Last edited by stemsee on Tue 21 Nov 2017, 07:40, edited 1 time in total.

Atle
Posts: 596
Joined: Wed 19 Nov 2008, 12:38
Location: Oslo, Norway
Contact:

#25 Post 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---

User avatar
corvus
Posts: 153
Joined: Fri 12 Jun 2015, 18:00
Location: In the peninsula shaped like a boot.

#26 Post 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 ?
Attachments
wifi-connect_tray.jpg
(28.27 KiB) Downloaded 310 times
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]

stemsee

#27 Post 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!

stemsee

#28 Post 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.

stemsee

#29 Post 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
Last edited by stemsee on Fri 15 Apr 2016, 19:02, edited 1 time in total.

Pelo

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

#30 Post 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.

Atle
Posts: 596
Joined: Wed 19 Nov 2008, 12:38
Location: Oslo, Norway
Contact:

#31 Post by Atle »

EDUWIFI...

What is that? Sounds like something neat :-)

stemsee

#32 Post 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!

stemsee

#33 Post by stemsee »

@Pelo hotspot does not work yet!

User avatar
8Geee
Posts: 2181
Joined: Mon 12 May 2008, 11:29
Location: N.E. USA

#34 Post 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.
Linux user #498913 "Some people need to reimagine their thinking."
"Zuckerberg: a large city inhabited by mentally challenged people."

stemsee

#35 Post 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

Atle
Posts: 596
Joined: Wed 19 Nov 2008, 12:38
Location: Oslo, Norway
Contact:

#36 Post by Atle »

Please just continue the great efforts to move towards new ideas and thinking.

What you do is very smart with combining Wlanmaker and Shareinternet.

Thats a killa if you ask me...

User avatar
corvus
Posts: 153
Joined: Fri 12 Jun 2015, 18:00
Location: In the peninsula shaped like a boot.

#37 Post by corvus »

Back to the point and go forward with testing, tried the last version, the browser icon now appears. Default start not working:

Code: Select all

# ./defaultwifi
/root/.wifivarsdef: line 2: be: command not found
awk: cmd. line:1: {print $2
awk: cmd. line:1:          ^ unexpected newline or end of string
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
killall: wpa_supplicant: no process killed
killall: dhcpcd: no process killed
./defaultwifi: line 103: unexpected EOF while looking for matching `"'
./defaultwifi: line 105: syntax error: unexpected end of file
# EXIT="Exit on timeout"
if I restart X the tray icon disappears and the wifi disconnects. I would suggest to move the wifiprofi entry in Puppys menu because to get access to an saved profile you must first run wifi-connect but I believe once a profile is saved a user would like to start it directly rather than having to start first WiFi-connection.
stemsee wrote:
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.
No stemsee, my question is off topic, I meant how to write something after the image attached to the post on the forum.

My regards and thanks for your work and efforts on this Forum.
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]

Atle
Posts: 596
Joined: Wed 19 Nov 2008, 12:38
Location: Oslo, Norway
Contact:

#38 Post by Atle »

@Stemsee

As for hotspot, what is great there is the built in webserver to serve or exchange files.

There are plenty of nice services that can run over Wlanmaker and ShareInternet.

And those are already built in mostly or can be found as pets. I think think of things that are like communication, such as chat and videochat. Games... I would like to challenge anyone anywhere in chess for instans. Files up and down. Sharing your videos and music.

Want to check my digital DVD backup directory? ;-)

What is most desperately missing is what i believe is DNSmasque.

The ability to make your "hotspot" redirect clients to a url.


I prey :-)

EDIT
After some googling I at least know what i ask for. Its called a "captive portal"...

https://personaltelco.net/wiki/CaptivePortal

stemsee

#39 Post by stemsee »

@corvus

Argh! I must have worked on a copy script in another location! Thanks!

I believe it is corrected now!

What do you think of the idea that wifiprofi only offers for selection profiles that have an Access Point available? Or leave it as it is to show all saved configs?
Last edited by stemsee on Tue 21 Nov 2017, 07:39, edited 2 times in total.

stemsee

#40 Post by stemsee »

@Atle
that one is obsolete. I found this
https://github.com/LogicalBricks/wicap-php

Post Reply