vito72 Posted April 29, 2013 Share Posted April 29, 2013 Does anyone have a script to get ICS working on Kali Linux between wireless and LAN. somehow the wp4.sh comes back with errors in line 20,37 and 50.. Can't seem to find the reason. must be a syntax error in the bash script but my scripting knowledge is not good enough to adjust it. Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted April 29, 2013 Share Posted April 29, 2013 Does anyone have a script to get ICS working on Kali Linux between wireless and LAN. somehow the wp4.sh comes back with errors in line 20,37 and 50.. Can't seem to find the reason. must be a syntax error in the bash script but my scripting knowledge is not good enough to adjust it. Are you logging in as root? Mine works just fine in VM when i run the script, no errors, logged in as root. Quote Link to comment Share on other sites More sharing options...
vito72 Posted April 29, 2013 Author Share Posted April 29, 2013 Yep, logged in as root. no VM just a clean install... Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted April 29, 2013 Share Posted April 29, 2013 Yep, logged in as root. no VM just a clean install... Make sure your adapters are entered correctly. It defaults to eth0 and wlan0. Check the names of them with ifconfig. Quote Link to comment Share on other sites More sharing options...
vito72 Posted April 29, 2013 Author Share Posted April 29, 2013 They are both eth0 and wlan0 ;-) Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted April 29, 2013 Share Posted April 29, 2013 Just for kicks, delete wp4.sh and apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y Then wget wifipineapple.com/wp4.sh && chmod +x wp4.sh Quote Link to comment Share on other sites More sharing options...
vito72 Posted April 29, 2013 Author Share Posted April 29, 2013 I'll try it tomorrow and let you know.. thanks! Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted April 30, 2013 Share Posted April 30, 2013 Make sure you are running "./wp4.sh" and not "sh wp4.sh". Also make sure you chmod +x beforehand. Quote Link to comment Share on other sites More sharing options...
pr3dat0r Posted April 30, 2013 Share Posted April 30, 2013 Are you logging in as root? Mine works just fine in VM when i run the script, no errors, logged in as root. Can you tell me how you've got that up and running in kali on vm? ( I'm using vmware workstation 9.0.1) Quote Link to comment Share on other sites More sharing options...
vito72 Posted April 30, 2013 Author Share Posted April 30, 2013 It worked with the ./wp4.sh thanks guys :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.