GithubHelp home page GithubHelp logo

the0demiurge / charlesscripts Goto Github PK

View Code? Open in Web Editor NEW
1.0K 1.0K 724.0 20.03 MB

My awesome scripts for Arch Linux or Ubuntu Gnome latest LTS or MacBook.

Home Page: https://the0demiurge.blogspot.jp/2017/02/ubuntu-gnome.html

License: Other

Shell 70.10% Python 27.98% Batchfile 1.92%
arch-linux bash configs dotfiles fish hosts powerline ubuntu-gnome

charlesscripts's People

Contributors

the0demiurge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

charlesscripts's Issues

连接错误,

parse error: Invalid numeric literal at line 17, column 32
curl: (7) Failed to connect to localhost port 0: Connection refused
刚装的debian9.4,貌似是不能访问本地端口?

Ask a question about using a branch

I saw that akkariiin/Experimental's branch with recent updates, why we didn't use it?
I modified this:

WEBSITE=http://ss.pythonic.life
BRANCH=akkariiin/Experimental
GIT_REPO=https://github.com/shadowsocksrr/shadowsocksr.git
INSTALL_PATH=$HOME/.local/share/shadowsocksr

but there has an error.

Invalid numeric literal at line 16,column32

root@ziyan:# ssr config
IPv6 support
stopped
IPv6 support
2019-09-04 19:50:56 INFO util.py:85 loading libcrypto from libcrypto.so.1.0.0
started
Testing Connection...
jq in use
parse error: Invalid numeric literal at line 16, column 32
root@ziyan:
#

problem: ssr config report curl: (52) Empty reply from server

ssr config File configuration

{
    "server": "144.34.130.252",
    "server_ipv6": "::",
    "server_port": 443,
    "local_address": "127.0.0.1",
    "local_port": 1080,

    "password": "0EnvPk6moOXC",
    "method": "aes-128-cfb,
    "protocol": "auth_aes128_md5",
    "protocol_param": "",
    "obfs": "tls1.2_ticket_auth_compatible",
    "obfs_param": "",
    "speed_limit_per_con": 0,
    "speed_limit_per_user": 0,

    "additional_ports" : {},
    "additional_ports_only" :false,
    "timeout": 120,
    "udp_timeout": 60,
    "dns_ipv6": false,
    "connect_verbose_info": 0,
    "redirect": "",
    "fast_open": false
}

ssr config配置后连不上

就改了一下端口号、密码、协议,返回如下错误
Testing Connection...
curl: (52) Empty reply from server

ssr

ssr config后终端能走代理吗 我这测试看起来是没走得

ERROR: ld.so:

Checking delay...
ERROR: ld.so: object 'libtsocks.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

怎么开全局代理?

我成功配置了ssr,在浏览器里用的manual proxy也可以翻出去,如果我想全局怎么弄?我设置network setting为
default
然后在浏览器里设置为use system proxy setting,然后就上不了网了,开不了全局吗?
有什么方法,谢谢!

windows/Android都可以使用的配置,但是ubuntu的客户端不可以

root@avepoint:~/.local/share/shadowsocksr# ssr config
IPv6 support
stopped
IPv6 support
2019-07-01 11:02:06 INFO util.py:85 loading libcrypto from libcrypto.so.1.1
started
Testing Connection...
jq in use
connection information:
curl: (52) Empty reply from server

shadowsocksr.log会报如下错误:
2019-07-01 11:02:06 INFO local.py:50 local start with protocol[auth_sha1_v4_compatible] password [xxxxxxxx] method [aes-256-cfb] obfs [http_simple_compatible] obfs_param []
2019-07-01 11:02:06 INFO local.py:54 starting local at 127.0.0.1:1080
2019-07-01 11:02:06 INFO asyncdns.py:324 dns server: [('127.0.0.53', 53)]
2019-07-01 11:02:07 INFO tcprelay.py:643 TCP request 216.239.34.21:80 by user 1080
2019-07-01 11:02:07 INFO tcprelay.py:794 TCP connecting 216.239.34.21(52.221.177.46):80 from 10.1.52.13:45090 by user 1080

会报这个错误,请问我还可以看哪里的log来定位问题,现在这些信息不够定位问题。

[ssr script] Not working on Ubuntu 17.1, please advise how to fix this

here below is the output after inputting "ssr start" with super user privilege [the proxy info in the configure file("~/.local/share/shadowsocksr/config.json") is correct and effective for sure] :

2017-11-21 19:04:53 INFO     util.py:85 loading libsodium from libsodium.so.18
started
Testing Connection...
curl: (52) Empty reply from server


有关linux酸酸乳一键脚本

最近无聊搞点东西,需要用到linux ssr客户端,我的系统是centos7_64,我发现运行一键脚本中61和62行会报错
61:jq ".local_port" $INSTALL_PATH/config.json
62:tsocks ping -c 5 cip.cc;
原因是centos7没有自带jq和tsocks,前者我通过从官网上下载可执行的jq,添加环境变量后解决;后者yum源没有,安装起来也很复杂,只能通过编译安装,但安装时提示缺少libtsocks.so很尴尬。
最后是通过改host解决的问题,请问老徐可以增加对centos支持吗,谢谢!

ssr EDITOR check

错误信息:

.local/bin/ssr: 第 13 行: [: emacsclient: 需要二元表达式

~/.bashrc:

export EDITOR="emacsclient -nw"

看起来是没有加双引号的缘故

ssr: port 1080 connection refused

Hi,

I used your ssr script and the installation is success. But when I try to do ./ssr test or ./ssr config, there is always a error:

This is the output after execute ./ssr test

Testing Connection...
jq in use
connection information:
curl: (7) Failed to connect to localhost port 1080: Connection refused

This is the output after execute ./ssr config

IPv6 support
2019-07-04 17:08:48 ERROR daemon.py:155 not running
IPv6 support
2019-07-04 17:08:48 INFO util.py:85 loading libcrypto from libcrypto.so.1.0.0
started
Testing Connection...
jq in use
connection information:
curl: (7) Failed to connect to localhost port 1080: Connection refused

Any idea how to solve this problem?

Thanks!

使用同一个节点配置,windows下可以,linux下不行

执行了SSR INSTALL
SSR CONFIG

IP : 185.173.93.100
地址 : 俄罗斯 新西伯利亚州 新西伯利亚
运营商 : clx.ru

数据二 : 俄罗斯

数据三 : 荷兰

URL : http://www.cip.cc/185.173.93.100
You may install proxychains4 and configure it properly to test net delay
[root@localhost pei2]# ping www.google.com
PING www.google.com (31.13.73.17) 56(84) bytes of data.
^C
--- www.google.com ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9000ms

deepin,填写完config后报错

2019-06-30 00:12:24 ERROR shell.py:50 [Errno 2] No such file or directory: '/home/thepoy/.local/share/shadowsocksr/ssr.pid'

2019-06-30 00:12:24 ERROR daemon.py:146 not running
IPv6 support

2019-06-30 00:12:25 INFO util.py:85 loading libcrypto from libcrypto.so.1.1
started

Testing Connection...

jq in use

parse error: Invalid numeric literal at line 17, column 32

ubuntu16.04链接上以后,设置127.0.0.1:1080仍然无法翻墙

看log估计已经连上了,但是把chrome设置127.0.0.1:1080后,仍然无法翻墙,是不是还有哪里要设置一下?
ssr config命令后,控制台打印:

IPv6 support
stopped
IPv6 support
2017-10-12 15:51:51 INFO util.py:85 loading libcrypto from libcrypto.so.1.0.0
started
Testing Connection...
当前 IP:45.76.172.148 来自:美国 Vultr

看样子连上了,但是设置代理后,仍然无法访问google。
PS:同样的SSR客户端配置,在windws可以,在ubuntu16.04失败了,因为我用的双系统。

archlinux

ERROR encrypt.py:94 method aes-256-gcm not supported

ssr install issue

after "ssr install"
post the issue
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jackdmp 1.9.11
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2014 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
terminate called after throwing an instance of 'apf::JackClient::jack_error'
what(): JackClient: Unable to connect to the JACK server!

关于配置文件转换等问题

您好,很感谢您分享的教程,这里有一个小问题:
如果在网络上遇到别人分享的ssr,或者自己通过剪贴板导出自己的配置,通常会导出如下格式:

ssr://aGszLmFpdHkucHJvOjQ0ODQyOmF1dGhfY2hhaW5fYTphZXMtMTI4LWN0cjp0bHMxLjJfdGlja2V0X2F1dGg6UlNGTVdFUWtkMDQvP29iZnNwYXJhbT1aRzkzYm14dllXUXVkMmx1Wkc5M2MzVndaR0YwWlM1amIy......

等,那么类似这样的编码配置信息,如何转换成config.json中的如下配置信息呢:

{
    "server": "0.0.0.0",
    "server_ipv6": "::",
    "server_port": 8388,
    "local_address": "127.0.0.1",
    "local_port": 1080,

    "password": "m",
    "method": "aes-128-ctr",
    "protocol": "auth_aes128_md5",
    "protocol_param": "",
    "obfs": "tls1.2_ticket_auth_compatible",
    "obfs_param": "",
    "speed_limit_per_con": 0,
    "speed_limit_per_user": 0,

    "additional_ports" : {}, // only works under multi-user mode
    "additional_ports_only" : false, // only works under multi-user mode
    "timeout": 120,
    "udp_timeout": 60,
    "dns_ipv6": false,
    "connect_verbose_info": 0,
    "redirect": "",
    "fast_open": false
}

Hi some problem while using your script

I can successfully use the script to connect my ssr server and open the out of wall website. But the question is, after some minutes, if I try to call "ssr stop" it doesn't work and say

cd: /home/myID/.local/share/shadowsocksr/shadowsocks/: 没有那个文件或目录

seems that the dir has been removed? But I never do that, can you help me with it? I don't want to reinstall the ssr server every time I reboot my PC.
Thanks

没用了

大佬,您好,今天晚上突然就不好了。配置信息完全正确,检查过很多遍。手机上用的ssr客户端还是非常快,电脑就完全连不上了

启动时遇到问题

master@master:~$ sudo ssr config
IPv6 support
2018-01-12 20:58:03 ERROR daemon.py:155 not running
IPv6 support
2018-01-12 20:58:03 INFO util.py:85 loading libcrypto from libcrypto.so.1.0.0
started

测试时:
master@master:~$ ssr test
Testing Connection...
curl: (52) Empty reply from server

查看log:
2018-01-12 20:58:03 INFO local.py:50 local start with protocol[auth_aes128_md5] password [5NLxxxxxx] method [aes-256-cfb] obfs [tls1.2_ticket_auth] obfs_param []
2018-01-12 20:58:03 INFO local.py:54 starting local at 127.0.0.1:1080
2018-01-12 20:58:03 INFO asyncdns.py:324 dns server: [('127.0.1.1', 53)]
2018-01-12 20:59:38 ERROR tcprelay.py:1039 [Errno 111] Connection refused
2018-01-12 20:59:38 ERROR tcprelay.py:1041 remote error, when connect to xxxxxxxxx:80

请问这是什么问题?
账号在windows下用SSR客户端是可以直接用的。

ss不能连接到主机

启动ss报下面问题:

./ss.sh start

IPv6 support
started
Testing Connection...
curl: (7) couldn't connect to host
下面是日志,看上去并没有报错
2018-01-08 14:45:58 INFO local.py:50 local start with protocol[origin] password [john...ll@#$%$^%&^*^@$Ddgd] method [none] obfs [tls1.2_ticket_auth] obfs_param []
2018-01-08 14:45:58 INFO local.py:54 starting local at 127.0.0.1:1080
2018-01-08 14:45:58 INFO asyncdns.py:324 dns server: [('192.168.1.1', 53), ('114.114.114.114', 53)]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.