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 22 Feb 2017, 06:46
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Wireless
Wifi-Connect 2016 ALPHA
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 10 [137 Posts]   Goto page: 1, 2, 3, ..., 8, 9, 10 Next
Author Message
stemsee

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

PostPosted: Wed 30 Mar 2016, 10:02    Post subject:  Wifi-Connect 2016 ALPHA
Subject description: internet connection tool:eduroam, wpa2, open networks, usb tether.
 

Wifi-Connect started out as a simple script to connect my laptop to a wifi access point with either wpa encryption or none. It never supported wep and still doesn't. It doesn't load hardware drivers as other more professionally written scripts do as the improvements in linux means they tend to be discovered and loaded already. This is part of the simplifications I wanted to take advantage of, but it's not for everybody.

After I made a second script 'wifi-connect-2' which was primarily for use with a second wifi card.

Soon I realised that once a profile was saved it would be handy to have a separate script that simply connected with a saved profile: wifiprofi. In face the previous mentioned scripts also connect using saved profiles, but they clean the up interface of ip and lease, wifiprofi doesn't. Thus facilitating two separate wifi connections.

Scanner came about when I just wanted to walk around and sample APs in my area. But then I added ability to connect and continue scanning. Scanner does not yet have the ability to save profiles or connect with them. Scanner also has compulsory random mac address spoofing. Scanner also has an admin mode which makes the information cells in the gui editable. This facilitates copying mac address and AP names, which could be added to router or firewall configurations. The sccanner admin mode is accessed by starting from the command line interface (terminal)
Code:
scanner admin


eduroam is the international university campus wifi network. It uses two stage authentication. All of these scripts allow connection to eduroam. However there is also an eduwifi script and menu entry which is less interruptive in case of using a second wifi card.

Ethernets 1 and 2 are supported minimally, and mobile phone tether across usb also.

Latest news is that all 5 scripts were coded to use dhcpcd for the dhc leasing service. However udhcpc is now incorporated, so that if dhcpcd is not present and udhcpc is, it will be used.

Hotspot script depends heavily on routermaker script by rcrsn51, which I have yet to fully test.

At one stage of development full profile encryption had been implemented but having to type in passwrods all the time proved tedious. However it will be added again but only for eduraom profiles.

All of these scripts could easily be combined into one script, simply be making each a function, and as they share the same functions anyway. but they would lose their versatility, I think.

For the future, I hope to make an administrator's version which will be far more configurable and able to configure multiple plural interfaces, with bridges and binding, mesh support and passive/active packet sniffing, interface mode settings etc.

But for now it does everything I need.
Code:
capture25471.png
 Description   
 Filesize   48.07 KB
 Viewed   407 Time(s)

capture25471.png

capture3293.png
 Description   
 Filesize   29.28 KB
 Viewed   409 Time(s)

capture3293.png

capture10391.png
 Description   
 Filesize   50.41 KB
 Viewed   417 Time(s)

capture10391.png

wifi-connect-31.deb.gz
Description 
gz

 Download 
Filename  wifi-connect-31.deb.gz 
Filesize  170.14 KB 
Downloaded  71 Time(s) 
wifi-connect-31.pet
Description 
pet

 Download 
Filename  wifi-connect-31.pet 
Filesize  148.74 KB 
Downloaded  103 Time(s) 
wifi-connect-31.sfs.gz
Description 
gz

 Download 
Filename  wifi-connect-31.sfs.gz 
Filesize  120 KB 
Downloaded  76 Time(s) 
capture28635.png
 Description   
 Filesize   47.78 KB
 Viewed   415 Time(s)

capture28635.png

capture18839.png
 Description   
 Filesize   46.28 KB
 Viewed   413 Time(s)

capture18839.png

capture15578.png
 Description   
 Filesize   23.13 KB
 Viewed   413 Time(s)

capture15578.png

capture14981.png
 Description   
 Filesize   16.06 KB
 Viewed   414 Time(s)

capture14981.png


Last edited by stemsee on Sun 16 Oct 2016, 05:03; edited 22 times in total
Back to top
View user's profile Send private message MSN Messenger 
corvus


Joined: 12 Jun 2015
Posts: 102
Location: In the peninsula shaped like a boot.

PostPosted: Wed 30 Mar 2016, 12:19    Post subject:  

Download link for testing ? Confused

Greetings

_________________
Hoc unum scio, me nihil scire. Socrate
Back to top
View user's profile Send private message 
corvus


Joined: 12 Jun 2015
Posts: 102
Location: In the peninsula shaped like a boot.

PostPosted: Wed 30 Mar 2016, 17:38    Post subject: Re: Wifi-Connect 2016
Subject description: internet connection tool wpa2 and open networks only
 

I have two menu entries in the Internet category StemsWlan and StemsWlan+, it is right, I ask because SteamsWlan+ appears to be a smaller version of SteamsWlan.
With SteamsWlan+ once I entered values ​​for the connection to the router it appears to connect but when I try to browse on the web, I'm not able to do it, as if I were not connected.
With SteamsWlan when it start changes immediately the MAC address of wifi card, unfortunately I set the router to consent the connection only to some MAC address, accordingly I suggest to let the user decide whether to change the MAC address. Once I entered the values ​​to connect to the router and ticked the save option I pressed OK and I was able to surf on internet successfully but when I started again SteamsWlan I realized that he had not saved the values of the previous session.
When I pass the mouse over the tray-icon both tools show the ip value of my ethernet connection instead of the wifi connection.
When I right-click on the icon tray and select disconnect nothing happens and I still stay connected.

stemsee wrote:

There are options for ethernets 1 & 2 and usb0: but not yet fully implemented.


Yes, it's true nothing happens if I select "Ethernet 1" or "Ethernet 1 Disconnect" despite being connected via Ethernet with another computer.

It's all for now, work in progress. I hope I was comprehensible.

My Best Regards. Smile

_________________
Hoc unum scio, me nihil scire. Socrate
Back to top
View user's profile Send private message 
stemsee

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

PostPosted: Wed 30 Mar 2016, 18:08    Post subject:  

thanks

It does save values but not the mac address, i will change that. I will change the initial mac changer too ( but that is how I want it to work by default).

Ethernet 1 disconnect does work here!

The tray does not receive a stream of changing values, yet, the values it receives are just snapshots.

What system are you running on? and what other network apps are running?

On my system I also have iptables, dnsmasq, wkanmaker, routermaker and shareInternet installed!

However everything is working as expected on pupjibaro jessie!

Could you post a screen shot of the right menu in operation?
Back to top
View user's profile Send private message MSN Messenger 
corvus


Joined: 12 Jun 2015
Posts: 102
Location: In the peninsula shaped like a boot.

PostPosted: Thu 31 Mar 2016, 12:00    Post subject:  

stemsee wrote:
What system are you running on?


I'm running Xanad's T64_Light a 666philb's Tahrpup64-6.0.2 derivate.

stemsee wrote:
and what other network apps are running?


Only rcrsn51's Gnetcat, when I need.

stemsee wrote:
Could you post a screen shot of the right menu in operation?


Regards.
Right_menu.jpg
 Description   
 Filesize   58.38 KB
 Viewed   1249 Time(s)

Right_menu.jpg


_________________
Hoc unum scio, me nihil scire. Socrate
Back to top
View user's profile Send private message 
vicmz


Joined: 15 Jan 2012
Posts: 1262

PostPosted: Thu 31 Mar 2016, 12:26    Post subject: Wifi Connect
Subject description: internationalized
 

Hello Stemsee. Here is a gettext version of the scripts in your pet, including a translation to Spanish.
stemswlan_internationalized.tar.gz
Description 
gz

 Download 
Filename  stemswlan_internationalized.tar.gz 
Filesize  7.15 KB 
Downloaded  116 Time(s) 

_________________
OB Precise 15.01 kernel 3.17.7|Puppy Linux en español
Back to top
View user's profile Send private message 
stemsee

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

PostPosted: Fri 01 Apr 2016, 03:35    Post subject:  

Thanks @ vimcz

It is a lesson for me!

I have decided to simplify Wifi-Connect all into one script.

Cheers @ corvus
Nice desktop!
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Sat 02 Apr 2016, 09:15    Post subject:  

hi @ vicmz

Here is updated (final) pet. Ready for gettexting. Great if you gettext them.
Scripts renamed to Wifi-Connect, no longer stemsewlan connect, and can be run in terminal with wifi-connect, or wifi-connect2. Hotspot and ediwifi improved and gettext ready. All provide tray icon and menu.

HotSpot requires additional packages: dnsmasq iptables shareInternet routermaker and wlanmaker, but may work without them depending on your setup!

@corvus
The reason the re-connect and disconnect didn't work is because adding the icon in the menu.

stem
capture26813.png
 Description   
 Filesize   171.95 KB
 Viewed   1140 Time(s)

capture26813.png

capture20748.png
 Description   
 Filesize   91.52 KB
 Viewed   1137 Time(s)

capture20748.png

Wifi-Connect.pet
Description 
pet

 Download 
Filename  Wifi-Connect.pet 
Filesize  20.88 KB 
Downloaded  119 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
corvus


Joined: 12 Jun 2015
Posts: 102
Location: In the peninsula shaped like a boot.

PostPosted: Sat 02 Apr 2016, 11:27    Post subject:  

Well done Stemsee, tried Wifi-Connect tool, Connect, Disconnect, Re-Connect and Open Browser work without issues. Successfully set as default. Very Happy

stemsee wrote:
HotSpot requires additional packages: dnsmasq iptables shareInternet routermaker and wlanmaker, but may work without them depending on your setup!


Please can you give me more explanations because I will share my internet connection with my second computer trough the ethernet connection.
Thanks. Smile

Greetings.

_________________
Hoc unum scio, me nihil scire. Socrate
Back to top
View user's profile Send private message 
stemsee

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

PostPosted: Sat 02 Apr 2016, 12:26    Post subject:  

Well here is a link for shareInternet-2.2.4.pet and a how to by saintless on sharing over ethernet between two PCs.
http://puppylinux.info/topic/shareinternet-224pet

After you install shareInternet (which you will need for wireless sharing I think) then run 'hotspot', shareInternet should be in /root/my-applications/ for my script to use it automatically.

In hotspot choose 'other' this is for shareInternet AppRun, the others use wlanmaker and routermaker (dnsmasq and iptables required for these two (probably)).

Then connect your devices, modiles, tablets etc ... may need to set static ip (depends on devices!)
Back to top
View user's profile Send private message MSN Messenger 
corvus


Joined: 12 Jun 2015
Posts: 102
Location: In the peninsula shaped like a boot.

PostPosted: Sat 02 Apr 2016, 15:14    Post subject:    

Thanks Stemsee with shareInternet I solved my problem. Very Happy
Thank you so much for the time that you gave me, and for your work. Smile

_________________
Hoc unum scio, me nihil scire. Socrate
Back to top
View user's profile Send private message 
stemsee

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

PostPosted: Sat 02 Apr 2016, 18:43    Post subject:  

That's ok corvus!

Other utils include hostapd and bridgeutils. I would like to find out the minimum requirements to get wlan0 to wlan1 sharing for hotspot.
Back to top
View user's profile Send private message MSN Messenger 
stemsee

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

PostPosted: Mon 04 Apr 2016, 19:50    Post subject:  

Got icons showing in the tray menu!
capture588.png
 Description   
 Filesize   47.58 KB
 Viewed   1042 Time(s)

capture588.png

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

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

PostPosted: Mon 04 Apr 2016, 21:56    Post subject:  

wifi-connect.pet tray icons beta
Last edited by stemsee on Thu 09 Jun 2016, 15:32; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
corvus


Joined: 12 Jun 2015
Posts: 102
Location: In the peninsula shaped like a boot.

PostPosted: Tue 05 Apr 2016, 16:01    Post subject:  

Hi Stemsee, as you can see from the screenshot below the icons work, I also successfully tested "Ethernet 1" and "Ethernet 1 Disconnect" to connect and disconnect from my second computer.
Bye.
Screenshot.png
 Description   
 Filesize   29.28 KB
 Viewed   1007 Time(s)

Screenshot.png


_________________
Hoc unum scio, me nihil scire. Socrate
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 10 [137 Posts]   Goto page: 1, 2, 3, ..., 8, 9, 10 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.0690s ][ Queries: 12 (0.0127s) ][ GZIP on ]