SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So I did that exactly like ruario said and it went exactly like they said it should, but the problem persists. Root works -- not user. However, I do get this message when I try running from terminal:
Quote:
ERROR: ld.so: object 'usr/lib64/liblsp.so' from /etc/ld.so.preload cannot be preloaded: ignored.
hegira, after you have corrected the above mistake, try rebooting (I want to make sure that any extra Astrill process are shutdown). Then do your first test as a regular user, not as root.
Also try test by running astrill from the terminal, not using the desktop shortcut.
If you continue to have problems please give me the output of the following commands:
Code:
find /usr/local/Astrill
Code:
which astrill
Code:
find / -iname Astrill.desktop 2>/dev/null
Note: This third command might take a several of minutes to complete. Just wait.
By the way, the reason for running the above commands is I am checking for any remnants of extra installs of Astrill that might still be present and messing up your result.
$%#&! Of course I have to make a typo on the instructions which you warned me that I only get one chance! I really feel stupid. Any how -- I'm not surprised that you're slackbuild works fine! Luckily the cat statement did give me back only one line -- so I edited it and now its working! I want to learn how to make slackbuilds. Quick question: Is the language you wrote that script in called bash? If yes, can you recommend a good resource for learning bash for beginners like me?
I have been observing from the sidelines tonight - congtatulations on getting it working and many thanks to ruario for his extra effort making and testing the Slackbuild script, and his excellent troubleshooting skills!
It is actually called "shell scripting" (i.e., it is not a language called bash), bash is one popular shell, but that is a trivial side-note that you will pick up.
No need, it is a very easy mistake to make. This is why I thought it might happen.
Quote:
Originally Posted by hegira
so I edited it and now its working!
Astrill is working, as a regular user? If yes, then great! If not, don't worry about asking more questions. I'd be happy to try and help further if there are problems.
Quick question: Is the language you wrote that script in called bash? If yes, can you recommend a good resource for learning bash for beginners like me?
I learned the little shell scripting I know by reading others scripts and tweaking them. There are no doubt good guides online but I am hesitant to make recommendations if I have not used them myself. Perhaps post a new question asking for recommendations.
I also just found this whilst searching http://en.wikibooks.org/wiki/Bash_Shell_Scripting but again I admit I have not used it myself and only given it a cursory glance. Looks like it has potential though.
OK. Yeah. I spoke a little too soon. It the gui comes up and it lets me sign in with email and passwd, and even lets me choose geographical location fo secure network and really acts like it is working. But acually, I don't get any sites that are blocked (I should get those if it is working), e.g. youtube, thepiratebay, ... Also, when I start from the terminal I get:
Quote:
(astrill:3025): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion `GDK_IS_DRAWABLE (drawable)' failed
asaccel: no process found
rtmpsuck: no process found
ascache: no process found
An unhandled exception occurred at $000000000040FF77 :
EOSError : Failed to execute "iptables", error code: 127
$000000000040FF77
$0000000000401889
$000000000040052D
An unhandled exception occurred at $000000000040FF77 :
EOSError : Failed to execute "iptables", error code: 127
$000000000040FF77
$000000000040179B
$00000000004004EC
WARNING: TLCLComponent.Destroy with LCLRefCount>0. Hint: Maybe the component is processing an event?
Also: When I choose lacation Los Angeles and go to www.hulu.com it tells me I can only watch videos from within US, so I think the vpn is not working. :/
I went back to root to try to start it up. In root it let me install the firefox add-on needed to use the vpn. I tried the vpn and it worked fine -- I got all of the blocked sites. Then I went back to user to see if I could install the add-on in firefox there, and now it says I have no internet. Even though it shows my wireless is connected, it does not let me get even the sites here that are not blocked, it just says cannot connect to server no matter where I try to go.
Just an update. For some reason when I install as above, it still does not work in user, and crashes on reboot. I get a message saying kernel panic an dsomething about attempted to kill init or something like that and there many codes consisting of lots of fs and then some numbers. Anyhow, I reinstalled slackware64 14 and then tried to install astrill (the command line version): https://www.astrill.com/downloads/as....sh?mirror=usa and just tried to install from command line, and the same thing happened. On reboot, it says kernel panic, and crashes. So frustrating!
OK. Yeah. I spoke a little too soon. It the gui comes up and it lets me sign in with email and passwd, and even lets me choose geographical location fo secure network and really acts like it is working. But acually, I don't get any sites that are blocked (I should get those if it is working), e.g. youtube, thepiratebay
Without an account this is not something I can test I am afraid.
Quote:
Originally Posted by hegira
Also, when I start from the terminal I get: [snip errors]
The various "no process found" I have seen. However this is the case for me even if I have the binaries in /usr/local/Asrtill as the official packages do, so the problem is not just a case of Astrill having its binary location hardcoded. As for the Gtk-CRITICAL errors, these appear so often with Gtk apps that I have largely given up worrying about them. I too see them with the test Astrill install I setup.
The other errors however are potentially serious and given the fact that you cannot access sites you should be able to access, your VPN clearly is not working. However I don't think this is a packaging issue, not least because I see in your later post that you have tried with a clean install and run the install script directly.
Quick summary, from searching around on the internet it would seem that the only people that have this reliably working are those using older Ubuntu releases. This leads me to believe that the app was only built and tested there. I do not fancy your chances of ever getting this working well, under Slackware.
That all said, given that Astrill supports using other Openvpn software I would go down that route. The Astrill application would appear to be broken, in multiple ways, certainly its packaging is.
Final thought, reinstall Slackware again. By running the install script directly you have corrupted your install with various symlinks and entries in files like /etc/ld.so.preload which may cause you problems later down the line.
@hegira: This is the page that tells you how to configure OpenVPN for Astrill, via the command line application 'openvpn'. A full Slackware 14.0 install includes this package. The only change I would make to the instructions on the Astrill configuration page is to switch to root in your terminal ("su -") rather than preface the command with sudo (because sudo is not preconfigured on Slackware).
Once installed, generate and download the Astrill .ovpn files as per their guide (linked above) then do the following:
1. Open Network Manager's Network settings
2. Add a new connection using the + button at the bottom left of the left pane.
3. A Dialog will appear, choose VPN as the type of connection, and click create.
4. Another dialog will appear, choose Import Saved VPN Configuration and click create.
5. In the file chooser that appears, choose your .ovpn file.
Note: I have not tested the above. These are just the directions I found whilst searching on Google. If they don't work for you try some further searches of your own.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.