LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-30-2013, 12:33 AM   #16
hegira
Member
 
Registered: Aug 2013
Posts: 59

Original Poster
Rep: Reputation: 0

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.

Last edited by hegira; 08-30-2013 at 12:36 AM.
 
Old 08-30-2013, 12:46 AM   #17
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,817

Rep: Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817
hegira, you didn't do the last command correctly, I said:

Code:
echo "/usr/lib64/liblsp64.so" >> /etc/ld.so.preload
but you did:

Code:
echo "usr/lib64/liblsp64.so" >> /etc/ld.so.preload
Notice the missing / from the font of usr?

Run 'cat /etc/ld.so.preload'. If (and only if) it is only one line long, you can issue the following as root to fix it:

Code:
echo "/usr/lib64/liblsp64.so" > /etc/ld.so.preload
Notice only one > this time. Make sure you get it right!
 
1 members found this post helpful.
Old 08-30-2013, 12:53 AM   #18
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,817

Rep: Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817
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.

Last edited by ruario; 08-30-2013 at 01:04 AM.
 
1 members found this post helpful.
Old 08-30-2013, 01:03 AM   #19
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,817

Rep: Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817
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.
 
1 members found this post helpful.
Old 08-30-2013, 01:13 AM   #20
hegira
Member
 
Registered: Aug 2013
Posts: 59

Original Poster
Rep: Reputation: 0
$%#&! 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?
 
Old 08-30-2013, 01:31 AM   #21
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,776

Rep: Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603
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.

The standard guide I think is the Advanced Bash Scripting Guide, also avaliable in pdf.
 
1 members found this post helpful.
Old 08-30-2013, 01:36 AM   #22
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,817

Rep: Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817
Quote:
Originally Posted by hegira View Post
I really feel stupid.
No need, it is a very easy mistake to make. This is why I thought it might happen.

Quote:
Originally Posted by hegira View Post
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.

Quote:
Originally Posted by hegira View Post
I want to learn how to make slackbuilds.
Here is a guide slackwiki.com/Writing_A_SlackBuild_Script

Quote:
Originally Posted by hegira View Post
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.
 
1 members found this post helpful.
Old 08-30-2013, 01:44 AM   #23
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,817

Rep: Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817
Quote:
Originally Posted by astrogeek View Post
The standard guide I think is the Advanced Bash Scripting Guide, also avaliable in pdf.
Looks good, though I see there is a beginner's guide as well http://www.tldp.org/LDP/Bash-Beginners-Guide/html/ which includes a small section on scripting. Might be another place to start perhaps?

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.
 
1 members found this post helpful.
Old 08-30-2013, 01:56 AM   #24
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,776

Rep: Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603
If you are like me and prefer printed reference books, the one I have on my shelf is Classic Shell Scripting. Highly recommended.

You should also look at man page...

Code:
man bash

also...

man ksh
man csh
man zsh
The bash man page is surprisingly complete, but can be difficult to find your way around at first... it grows on you!

Last edited by astrogeek; 08-30-2013 at 01:58 AM.
 
1 members found this post helpful.
Old 08-30-2013, 02:44 AM   #25
hegira
Member
 
Registered: Aug 2013
Posts: 59

Original Poster
Rep: Reputation: 0
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?

(astrill:3025): Gtk-CRITICAL **: IA__gtk_window_set_keep_above: assertion `GTK_IS_WINDOW (window)' failed
TCustomForm.SetActiveControl Frm_Settings:TFrm_Settings AWinControl=pnl_connection:TPanel GetParentForm(AWinControl)=FrmMain:TFrmMain csLoading=False AWinControl.CanFocus=True IsControlVisible=True Enabled=True
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. :/

Last edited by hegira; 08-30-2013 at 02:52 AM.
 
Old 08-30-2013, 03:04 AM   #26
hegira
Member
 
Registered: Aug 2013
Posts: 59

Original Poster
Rep: Reputation: 0
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.
 
Old 08-30-2013, 03:10 AM   #27
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Quote:
This shell script convert Debian packages to Slackware packages. Heavy based in rpm2tgz by Patrick Volkerding.
Is deb2tgz as bad as rpm2tgz? I've never been able to make any productive package from the latter.
 
Old 08-30-2013, 10:41 PM   #28
hegira
Member
 
Registered: Aug 2013
Posts: 59

Original Poster
Rep: Reputation: 0
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!
 
Old 09-02-2013, 02:48 AM   #29
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,817

Rep: Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817
Quote:
Originally Posted by hegira View Post
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 View Post
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.

Last edited by ruario; 09-02-2013 at 02:49 AM.
 
Old 09-02-2013, 03:13 AM   #30
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,817

Rep: Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817
@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).

If you want a graphical solution your could try installing NetworkManager-openvpn from SlackBuilds.org (just make sure to read the SlackBuild Usage HOWTO if you have never used SlackBuilds.org before).

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem installing Slackware64 14.0 ferrel Slackware 52 11-07-2012 12:23 AM
problem with slackware64 tinnnysu Slackware 7 10-14-2012 06:17 PM
[SOLVED] googleearth problem in Slackware64-current afreitascs Slackware 6 05-12-2011 08:57 AM
convert deb2tgz... is it possible...? Alexvader Slackware 18 01-17-2010 02:58 PM
[SOLVED] Slackware64-C client wont detect Slackware64-C Samba server slackass Slackware 5 08-07-2009 11:23 PM


All times are GMT -5. The time now is 02:08 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration