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

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

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

Wifi-Connect-2017B (beta)

Connect to open/wpa/wpa2/2phase Access Points. Supports dhcpcd and udhcpc

There are 7 scripts in total plus supporting hook scripts and data file:

Wifi-Starter is the common script called when any of the desktop files is used to start the app. It shuts down the tray menu, then each script starts its own tray menu. Menu provides internet from mobile phone over usb.

Wifi-Connect is your everyday wifi connectiotrn tool. It also can start ethernet. It provides mac address editing and random mac generator, saves profiles, sets default profile to use on x startup.

Wifi-Profiles is a direct way to connect using saved profiles. Allows deleting of profiles.

Wifi-Eduroam is specifically for 2 phase security on university eduroam AP.

Wifi-Scanner uses selected interface to continuously scan available APs. Allows connection and profile creation.

Wifi-Scanner-2 uses selected interfaces (upto eight) to scan for APs and display results in tabs per interface. Allows connection and profile creation.

Wifi-HotSpot usses create_ap-master backend to allow the configuration of HotSpot AP. Supports wan, lan and bridge. Supports 2.4 and 5 ghz wavebands. Supports multi-ssid interfaces. Suports WPA and WPA2 security.
Code:
## Features
* Create an AP (Access Point) at any channel.
* Choose one of the following encryptions: WPA, WPA2, WPA/WPA2, Open (no encryption).
* Hide your SSID.
* Disable communication between clients (client isolation).
* IEEE 802.11n & 802.11ac support
* Internet sharing methods: NATed or Bridged or None (no Internet sharing).
* Choose the AP Gateway IP (only for 'NATed' and 'None' Internet sharing methods).
* You can create an AP with the same interface you are getting your Internet connection.
* You can pass your SSID and password through pipe or through arguments (see examples).


## Dependencies
### General
* bash (to run this script)
* util-linux (for getopt)
* procps or procps-ng
* hostapd
* iproute2
* iw
* iwconfig (you only need this if 'iw' can not recognize your adapter)
* haveged (optional)

### For 'NATed' or 'None' Internet sharing method
* dnsmasq
* iptables


## Installation
### Generic
    git clone https://github.com/oblique/create_ap
    cd create_ap
    make install

### ArchLinux
    pacman -S create_ap

### Gentoo
    emerge layman
    layman -f -a jorgicio
    emerge net-wireless/create_ap

## Examples
### No passphrase (open network):
    create_ap wlan0 eth0 MyAccessPoint

### WPA + WPA2 passphrase:
    create_ap wlan0 eth0 MyAccessPoint MyPassPhrase

### AP without Internet sharing:
    create_ap -n wlan0 MyAccessPoint MyPassPhrase

### Bridged Internet sharing:
    create_ap -m bridge wlan0 eth0 MyAccessPoint MyPassPhrase

### Bridged Internet sharing (pre-configured bridge interface):
    create_ap -m bridge wlan0 br0 MyAccessPoint MyPassPhrase

### Internet sharing from the same WiFi interface:
    create_ap wlan0 wlan0 MyAccessPoint MyPassPhrase

### Choose a different WiFi adapter driver
    create_ap --driver rtl871xdrv wlan0 eth0 MyAccessPoint MyPassPhrase

### No passphrase (open network) using pipe:
    echo -e "MyAccessPoint" | create_ap wlan0 eth0

### WPA + WPA2 passphrase using pipe:
    echo -e "MyAccessPoint\nMyPassPhrase" | create_ap wlan0 eth0

### Enable IEEE 802.11n
    create_ap --ieee80211n --ht_capab '[HT40+]' wlan0 eth0 MyAccessPoint MyPassPhrase

### Client Isolation:
    create_ap --isolate-clients wlan0 eth0 MyAccessPoint MyPassPhrase

## Systemd service
Using the persistent [systemd](https://wiki.archlinux.org/index.php/systemd#Basic_systemctl_usage) service
### Start service immediately:
    systemctl start create_ap

### Start on boot:
    systemctl enable create_ap


## License
FreeBSD
xscreenshot-20170702T135543.png
 Description   
 Filesize   55.29 KB
 Viewed   27 Time(s)

xscreenshot-20170702T135543.png

xscreenshot-20170702T135042.png
 Description   
 Filesize   53.39 KB
 Viewed   29 Time(s)

xscreenshot-20170702T135042.png

xscreenshot-20170702T134859.png
 Description   
 Filesize   46.31 KB
 Viewed   31 Time(s)

xscreenshot-20170702T134859.png

capture25471.png
 Description   
 Filesize   48.07 KB
 Viewed   528 Time(s)

capture25471.png

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

capture3293.png

capture28635.png
 Description   
 Filesize   47.78 KB
 Viewed   535 Time(s)

capture28635.png

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

capture15578.png

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

capture14981.png


Last edited by stemsee on Sun 02 Jul 2017, 09:20; edited 32 times in total
Back to top
View user's profile Send private message MSN Messenger 
corvus


Joined: 12 Jun 2015
Posts: 125
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: 125
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: 1968
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: 125
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   1364 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: 1265

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  152 Time(s) 

_________________
Puppy Linux en español
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 1968
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: 1968
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   1254 Time(s)

capture26813.png

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

capture20748.png

Wifi-Connect.pet
Description 
pet

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


Joined: 12 Jun 2015
Posts: 125
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: 1968
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: 125
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: 1968
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: 1968
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   1155 Time(s)

capture588.png

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

Joined: 27 Jun 2013
Posts: 1968
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: 125
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   1119 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 [139 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.1493s ][ Queries: 12 (0.0149s) ][ GZIP on ]