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 Sun 19 Aug 2018, 02:26
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 3 of 7 [91 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Author Message
stemsee

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

PostPosted: Sun 29 Apr 2018, 06:06    Post subject:  

I have refined the autocon function which adds a system startup AP connection in /etc/xdg/Startup. This can be removed in two ways
1) Select an AP from menu, then when input gui opens type 'removedef' in id field and click ok (be sure password field is empty). The other way is to leave gui fields empty and click ok then again select Make Startup Ap in menu, this removes autocon from ~/Startup or /etc/xdg/Startup and default profile from /root/.wifi-connect/profiles.

There is also AutoStart on/off (toggle) in extrasmenu for starting TrayNet when X starts. It will be in /etc/xdg/Startup.

Last edited by stemsee on Thu 24 May 2018, 07:45; edited 3 times in total
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Tue 01 May 2018, 05:47    Post subject:  

zagreb999

I missed your post for some reason! I will test it on debiandog, but for full functionality you will need to install;

dhcpcd
dnsmasq
hostapd
wireless-tools
wpasupplicant
yad
inotifywait
ifconfig

Probably your install is missing inotifywait!
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Wed 02 May 2018, 10:32    Post subject:  

I have added a dependency checker.

Also for some distros, yad --notification needs to take place befre first scan. So changed the order.

I have also included 'ipheth' for iphone tethering along with rules. I don't have an iphone so not tested by me.

will post later.

stemsee

EDIT: Just configurng a new kernel and found iPhone usb tether support!
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Fri 04 May 2018, 17:14    Post subject:  

Adding openvpn might be useful.
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Mon 07 May 2018, 17:14    Post subject:  

Added routine that connects to first AP that has a saved profile, after scan. This is not ideal, but suffices for now. What should happen is that after a scan, all AP ssids are compared against saved profiles and those found would then be prioritised according to either signal strengh or user preference, then connection attempts be made for each AP until successful.
Last edited by stemsee on Thu 24 May 2018, 07:45; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Thu 10 May 2018, 02:24    Post subject:  

Two new routines have been added/refined ...

On scanning and finding APs with saved profiles, each one is used to create a connection, in sequence, after connecting to an AP, an info box opens askng the user if they wish to accept/use that connection, if ok then that connection persists, if cancel then the next found AP profile is connected. This happens until all found AP profiles have been used, and the last one stays connected.

A manual connection can be made anytime during that process.

Another routine is available in the menu Scan'n'Join OpenAPs. This extracts from the scan results all open/unencryted APs found and attempts to connect each one in sequence. After connecting an info box opens providing the user the option to keep that connection or to continue to the next in the list (/tmp/XTOFF).

A manual connection can be made anytime during that process.

Both are working well, according to my tests.

I had too many yad info boxes opening up and forming an annoying distraction, this was because test connection function was included in the animated icon function, which is called for nearly every operation. Now removed and much improved for it.

To Do: I want to use svg icons with text to add more info (channel, encryption type, data width, manufacturer).
Back to top
View user's profile Send private message MSN Messenger 
josejp2424


Joined: 01 Aug 2010
Posts: 383

PostPosted: Thu 10 May 2018, 14:32    Post subject: Wifi-TrayNet
Subject description: Wifi-TrayNet
 

Wifi-TrayNet doesn't start with the system to me
_________________
Shiba Inu | Pupjibaro jessie | My Blog
Back to top
View user's profile Send private message Visit poster's website 
stemsee

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

PostPosted: Fri 11 May 2018, 00:41    Post subject:  

Make sure you are using the latest version from the start of this post .. v1.3

Does your system have /etc/xdg/Startup?

This is the autostart function,
Code:
function autostart (){
   if [[ -d /etc/xdg/Startup ]]; then
      path=/etc/xdg/Startup
   elif [[ -d /root/Startup && ! -d /etc/xdg/Startup ]]; then
      path=/root/Startup
   else
      exit
   fi
   export path
   if [[ ! -f "$path"/TrayNet ]]; then
      ln -s /usr/sbin/TrayNet "$path"/TrayNet
   else
      rm -f "$path"/TrayNet
   fi
}
export -f autostart
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Fri 11 May 2018, 00:54    Post subject:  

Make sure you use this the following version
Last edited by stemsee on Mon 21 May 2018, 04:28; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Sat 12 May 2018, 05:06    Post subject:  

I found two big errors (systemic).
I was not using the necessary dhcpcd switch '-c' this is needed to force use of the hook scripts in /lib64/dhcpcd/dhcpcd-run-hooks

Seems to be working more reliably now.
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Sat 19 May 2018, 10:00    Post subject:  

Including geometry recorder = position and resize each window, leave open until geometry recorder, times-out, that's when it grabs window geometry. After all windows have been set, go to extra menu and switch off Geometry.
Last edited by stemsee on Thu 24 May 2018, 07:42; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Thu 24 May 2018, 06:37    Post subject:  

Today I was trying Wifi-TrayNet on a different OS which didn't have inotifywait installed, made me realise probably most distros don't ship with inotify, so I recoded that part of the script which relied on inotifywait, so it is no longer a dependency.

The functionality is much the same.

see first post for download
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Fri 01 Jun 2018, 08:59    Post subject:  

Here is a much improved release of Wifi-TrayNet and Wifi-Scanner, featuring geometry recording.
2018-06-01-130911_397x573_scrot.png
 Description   
 Filesize   80.47 KB
 Viewed   116 Time(s)

2018-06-01-130911_397x573_scrot.png

2018-06-01-130804_565x253_scrot.png
 Description   
 Filesize   26.48 KB
 Viewed   115 Time(s)

2018-06-01-130804_565x253_scrot.png

2018-06-01-130815_565x314_scrot.png
 Description   
 Filesize   57.48 KB
 Viewed   116 Time(s)

2018-06-01-130815_565x314_scrot.png


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 
stemsee

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

PostPosted: Sun 03 Jun 2018, 05:20    Post subject:  

Different distros have different compilation parameters for similar or same named apps.

On BionicDog the code I used in Wifi-traynet to get the ip does not work, and the script's functionality and flow depends heavily on such tests.

So I re-worked it with tests that seem to work across systems (for the moment)!

Not only that I removed some code, in order to rely wholly on hook scripts!

Not only that, but I added some nifty code for changing interace to scan on on the fly, so to speak, using 'yad --select-action'.

Not only that but Wifi-Scanner now continues in the case where system has only one wifi interface, which is used to connect, in which case the gui would not reopen ... that was when the unctions tab had not been fully implemented ... so that had to be changed and now works great.

Ahi esta! Wifi-TrayNet-2.4

Last edited by stemsee on Fri 08 Jun 2018, 04:36; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Fri 08 Jun 2018, 04:36    Post subject:  

v2.6
Last edited by stemsee on Wed 04 Jul 2018, 04:55; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 3 of 7 [91 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.0564s ][ Queries: 15 (0.0125s) ][ GZIP on ]