Gaptastic Posted May 17, 2014 Share Posted May 17, 2014 So I just purchased the pineapple mark V. I was watching the Linux internet connection video...When I ran sudo ./wp5.sh I received the following syntax error: newline unexpected. I spent some time looking online and on these forums and couldn't find how to over come the error. I'm running Ubuntu 14.04 64. where am I going wrong? Thank you in advance for all your help. Quote Link to comment Share on other sites More sharing options...
Foxtrot Posted May 18, 2014 Share Posted May 18, 2014 Try downloading the script again. Quote Link to comment Share on other sites More sharing options...
Gaptastic Posted May 19, 2014 Author Share Posted May 19, 2014 Thanks for the reply...I tried it again. I still get the same error. I copied and pasted my commands below. I appreciate the help! me@computron:~$ wget http://wifipinapple.com/wp5.sh --2014-05-19 18:21:40-- http://wifipinapple.com/wp5.sh Resolving wifipinapple.com (wifipinapple.com)... 208.73.211.249, 208.73.211.182, 208.73.211.236, ... Connecting to wifipinapple.com (wifipinapple.com)|208.73.211.249|:80... connected. HTTP request sent, awaiting response... 200 (OK) Length: 1398 (1.4K) [text/html] Saving to: ‘wp5.sh’ 100%[================================================================================================================================>] 1,398 --.-K/s in 0s 2014-05-19 18:21:41 (52.9 MB/s) - ‘wp5.sh’ saved [1398/1398] me@computron:~$ chmod +x wp5.sh me@computron:~$ sudo ./wp5.sh ./wp5.sh: 2: ./wp5.sh: Syntax error: newline unexpected Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted May 19, 2014 Share Posted May 19, 2014 Well, you do have a typo in your url! http://wifipinapple.com/wp5.sh should be http://wifipineapple.com/wp5.sh Best Regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
Gaptastic Posted May 19, 2014 Author Share Posted May 19, 2014 I'm completely embarrassed, I re-watched the video to make sure it was correct. I think I need glasses....My apologies and thank you; it works fine (of course). Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted May 19, 2014 Share Posted May 19, 2014 Don't worry, this stuff happens to all of us. Best regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
Caecilius Posted July 22, 2014 Share Posted July 22, 2014 Question is....what was the file you downloaded and chmod'ed?? Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted July 22, 2014 Share Posted July 22, 2014 Question is....what was the file you downloaded and chmod'ed?? An html site. 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.