hak5darren / wp6 Goto Github PK
View Code? Open in Web Editor NEWLinux Internet Connection Sharing script for 6th generation WiFi Pineapples
Linux Internet Connection Sharing script for 6th generation WiFi Pineapples
I'm running CentOS for some reason every time I run the script I lose my default gateway = I lose internet on my machine. even setting up my default gw manually wouldn't do the trick (it does not save, why? I don't know) so I commented the line " route del default #remove default route " on the script.
so it doesn't erase my default gateway. Everything works now, host has internet = pineapple has internet. :-)
PS: I also tried on a Kali VM and had the same problem. threads on the forum didn't help. so I wonder why I can't change the default gateway after running the script.
tput is no longer in the default build
I try to connect a pineapple on eth1 with my internet comming in on eth0. I downloaded wp6.sh and tried it a couple of times but always received the following error:
No Gateway available for selected Internet Interface.
I had a closer look at the script and tried to find out what's wrong and I think I nailed it down to this:
ifaces=($(ifconfig -a | grep encap | awk {'print $1'} | grep -v lo))
If I run just ifconfig -a | grep encap
it already returns nothing... I tried to exchange encap
for UP
but that didn't work either... I ended up editing the lines in the script directly to match my setup and it worked...
Will there be a version of this script for the Mark VII, or is that function included in the new device?
On my arch-machine without net-tools installed [1], the script doesn't work:
./wp6.sh: Zeile 268: ifconfig: Kommando nicht gefunden.
./wp6.sh: Zeile 280: ifconfig: Kommando nicht gefunden.
./wp6.sh: Zeile 287: route: Kommando nicht gefunden.
./wp6.sh: Zeile 288: route: Kommando nicht gefunden.
If I install net-tools it still doesn't work, without any error messages.
[1] https://www.archlinux.org/news/deprecation-of-net-tools/
Hello,
i just got an pineapple nano and followed the setup instructions on the website: wifipineapple.com/nano and there i found the linux setup video with the wp6.sh.
I tried it now on manjaro, suse and kali linux without success.
Maybe it could be upgraded to newer distros without netstat, ifconfig and route ?
Thank you very much.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.