Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 19 Dec 2018, 03:08
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Wireless
Wifi-TrayNet and Wifi-Scanner
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 7 [95 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Author Message
stemsee

Joined: 27 Jun 2013
Posts: 2277
Location: In The Way

PostPosted: Sun 08 Apr 2018, 13:53    Post subject:  

thanks josejp

hola

Today I was in Victoria Railway station in London, and I tested this wifi app ... there were about 30 APs available, and some of them did not have ESSID names, and even in the raw scan result there was not a line with the ESSID header. So the scan results were half right and half messy. Today I came up with a interim solution that if the number of Cell lines is more than the number of ESSID lines then geany opens the scan results for editing. Then one must insert ESSID:"" between the lines for Encryption key:* and Bit Rates:1*

If anyone knows how to code that with awk or sed that would be appreciated, otherwise I will have to re-code in such a way that it scans first for bssid (mac addresses) and then adds any ssid associated after.


Also I re-did swap icons features; two sets available ( i will add more colourful sets).

Added feature to highlight in password gui the saved profile of selected ssid if available.

Re-arranged menu items for ease of use.
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2277
Location: In The Way

PostPosted: Mon 09 Apr 2018, 01:37    Post subject:  

This is the sfs package with the latest features, fake .gz
Last edited by stemsee on Wed 11 Apr 2018, 14:48; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2277
Location: In The Way

PostPosted: Mon 09 Apr 2018, 08:42    Post subject:  

Added to mainmenu ethernet2 connect.

Menu Ethernet1, Ethernet2, USB connection now toggle interfaces up or down....with animated tray icon to show something is happening.
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2277
Location: In The Way

PostPosted: Tue 10 Apr 2018, 09:55    Post subject:  

Fixed a the no ESSID phenomena.

Added a sleep to wait for ip address, seems to improve connection.

A few other small things.

Which name is better TrayNet or NetMenu ?

Last edited by stemsee on Wed 11 Apr 2018, 14:48; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2277
Location: In The Way

PostPosted: Wed 11 Apr 2018, 08:15    Post subject:  

Latest update.

It's more informative now, and fewer back-grounded processes.

More control of hardware for wired networking.

Re-organised script for more efficient operation.

Can accommodate ip devices without ESSID: provision.

Airplane Mode now includes usb and ethernet interfaces as well as wireless ones.

EDIT~: re-uploaded. tamed curl which propagated itself. Also $int definition in wrong place.

Last edited by stemsee on Fri 13 Apr 2018, 15:14; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2277
Location: In The Way

PostPosted: Fri 13 Apr 2018, 09:01    Post subject:  

Added some polish.

TrayNet/NetMenu, Wifi-Scanner-2 both handle non-ESSID APs.

refined resolv.conf creation. Manage wether resolv.conf.head applies, when dns=0.0.0.0 (allows auto-create by hook scripts)

refined functions flow, so fewer animated try icons, no overlaps.

tidied up hotspot function.

tidied up wpa_cli monitor function.

removed curl line for external ip.

allotted credits to coders; Misko_2083, MochiMoppel, Fredx181, Rcrsn51, Victor Ananjesky. from whom I borrowed snippets. Cheers guys!

Seems to be final.

To Do ... err??
Provide more interesting icon sets.

stemsee

Last edited by stemsee on Wed 04 Jul 2018, 04:53; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
nilsonmorales


Joined: 15 Apr 2011
Posts: 942
Location: El Salvador

PostPosted: Thu 19 Apr 2018, 01:43    Post subject:  

Hi stemsee, how many icons is the set?, what size and format, see around 37 icons in /usr/share/pixmaps and two directories. want to understand
-Wired
-Wireless
-Plane mode
-Phone or tethering
I'm right?

_________________
My blog | | Github


Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2277
Location: In The Way

PostPosted: Thu 19 Apr 2018, 02:51    Post subject:  

/usr/share/pixmaps/{icons1,icons2} these are the changeable sets for displaying signal strength and password on/off. 18 icons in each set (36. 9 for encrypted and 9 for non-emcrypted AP. Then in /usr/share/pixmaps there are 13 used icons and 24 spare, which may be used at a later revision. So 49 icons, plus 3 gtk icons, so 52 all together.

Icons in the menus can be any size but I use 24px png. 1 svg (connected.svg) size 100 for tray notification icon when connected.

I want to change all to svg icons so that text and shape and colours can be added in the form of variables....eventually.

Modes of operation
Wired - usb (android usb phone tether (will add iphone)), ethernets 1 - 8
Wireless - any selected interface/s can be changed anytime for scanning/connection etc
Hotspot - with one wireless interface or two - from any source to wireless (yes even same interface).

Airplane mode - turns on/off usb, eth, wifi and bluetooth
WPA_CLI - interactive mode - wps on commandline.
Monitor Mode - to observe/sniff wireless traffic/packets.

Change mac address anytime!

Here is an update.

Added Continuous scanning of APs shown only in tooltip.
Changed qrc (quick re-connect feature) to use existing function.
Re-arranged items in both menus.
Re-added curl for external ip address.
Updated interface names handling.
Fixed a couple bugs.
netmenu.png
 Description   
 Filesize   38.68 KB
 Viewed   209 Time(s)

netmenu.png


Last edited by stemsee on Wed 04 Jul 2018, 04:53; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
zagreb999

Joined: 11 Apr 2014
Posts: 406
Location: Yugoslavija

PostPosted: Fri 20 Apr 2018, 01:21    Post subject:  

REGARDS

IS IT POSSIBLE TO CONNECT
WITH USB T-MOBILE ?

CAN YOU simplify GUI
TO BE AS NM GNOME, OR WICD,
OR FRISBEE?

ONE SCHOOL GIRL CAN NOT
UNDERSTAND YOU GUI!
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2277
Location: In The Way

PostPosted: Fri 20 Apr 2018, 05:50    Post subject:  

Hello zagreb999

When you say 'gui' do you mean the menu in the tray? Or the actual gui which opens when you select an AP in the top half of the menu?

1) To scan for Wifi Access Points (APs) left click (single finger tap) on the netmenu tray icon. The icon will be animated. Leave the mouse pointer hovering over the icon to see APs found in a tooltip box. To connect to a wifi AP (access point), simply right click on the tray icon, and then on the AP name in the top half of the menu.

2) A gui will open (pic1). If the AP needs a password and/or id then in the top left field just enter the password (or if eduroam enter password then your university email address (id)) in the id field and click ok. If no password is needed those fields will be read only and will not accept any input, just click ok. For normal simple use just leave default settings.

However this gui has other options for advanced users,, which may be ignored, such as using another driver (wext/nl80211 for wifi, wired for ethernet/usb with wpa_supplicant), Interface lets you select another wifi card (if available), or eth0/1/2/3/4 (enp*) if using wired driver.

The editor field is if you want to edit the config file before connecting with it to an AP.

Then there is the Static field where you have to know network config options (advanced/administrtor function).

Profiles field lists any saved profiles of APs that you have connected to before. If you select a profile then click ok, no need to enter password etc ... the profile already has all details needed to connect to the AP.

Then the 'Dhcpc editor' lets you choose and customise the dhcpcd or udhcpc configuration options. Dhcpcd will need to be installed. Udhcpcd is builtin to busybox, both use their own hook scripts, which should be on your system. For normal use just leave default settings.

Also there is the 'Change Ap' field; this lists all the APs found during the scan and if you select another one, because you changed your mind which one to join, then just click ok and the gui will close and re-open with the new AP selected. If password is needed then enter it and click ok, or just click ok.

Several of these operations are supported at a time, they are prioritised, which for normal simple operation just leave extra fields blank.

USB *T-mobile* - dongle connection, I believe is ppp. You can use 'wvdial', depending on which pup you use. I could have netmenu invoke it, or simply add the necessary heuristic code myself. But at the moment it is not possible except your dongle behaves like a wifi or android usb connection, then just select 'Mobile USB Internet' from the menu, and try it.

I hope your english is good enough to understand my explanation.

As regards imitating Frisbee or Wicd, the best I can do is to advise you to install those apps, they are their own best imitations. My app does not imitate any other wifi app on the planet ... it is as original as I need it to be, to address the short comings I have found when using those apps!

Kind regards
stemsee
capture11574.png
 Description   pic1
 Filesize   31.19 KB
 Viewed   184 Time(s)

capture11574.png


Last edited by stemsee on Fri 20 Apr 2018, 09:21; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2277
Location: In The Way

PostPosted: Fri 20 Apr 2018, 06:23    Post subject:  

Some things yet to do include

1) Add code to auto-connect to saved profile APs when found during continuous scanning mode.

2) Add code to connect to iphone usb tether.

3) Add code to connect with gprs/3/4/5G usb modems/dongles.

4) Add a help file.

5) Add gettext.

6) Global icon sets.

Last edited by stemsee on Tue 01 May 2018, 05:42; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2277
Location: In The Way

PostPosted: Sat 28 Apr 2018, 06:05    Post subject:  

changed the script name to TrayNet

some other small stuff! including added open profiles dir checkbox, for profiles function.

Changed default menu icon.

Last edited by stemsee on Wed 04 Jul 2018, 04:54; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
zagreb999

Joined: 11 Apr 2014
Posts: 406
Location: Yugoslavija

PostPosted: Sat 28 Apr 2018, 07:19    Post subject: debiandog  

on debiandog wifi-tray does not work...

is there latest kernel 32 bit?

regards.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11398
Location: S.C. USA

PostPosted: Sat 28 Apr 2018, 14:54    Post subject:  

stemsee,

Thanks for this program!!

Is the one posted above the latest version of Traynet or the one posted in the first post of this topic?

Normally if you make a new version of a program, you update the first post of the topic.
Put the new version in that first post.

It is easy for someone to get the newest version if all they have to do is look in this first post.
A version number would also help to make sure it is the latest version.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2277
Location: In The Way

PostPosted: Sat 28 Apr 2018, 16:22    Post subject:  

Thanks Bigpup

I will update the first post.

stemsee
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 2 of 7 [95 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Networking » Wireless
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0703s ][ Queries: 13 (0.0084s) ][ GZIP on ]