all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fabian Braennstroem <f.braennstroem@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: tramp with socksify
Date: Thu, 23 Aug 2007 21:47:49 +0000	[thread overview]
Message-ID: <faknl2$hnk$1@tamarack.fernuni-hagen.de> (raw)
In-Reply-To: <mailman.5172.1187852253.32220.help-gnu-emacs@gnu.org>


Hallo Michael,
Michael Albinus schrieb am 08/23/2007 06:57 AM:
> Fabian Braennstroem <f.braennstroem@gmx.de> writes:
> 
>> Hi Michael,
> 
> Hi Fabian,
> 
>>>>> You need to declare the socksv5 server as proxy:
>>>>>
>>>>> (add-to-list 'tramp-default-proxies-alist
>>>>>              (list "test.socksify.com" nil
>>>>>              "/socks:bypass.socksify.com#1080:"))
>> I checked the socks.conf of my office machine, I have
>> something like:
>>
>> route {
>>         from: 0.0.0.0/0   to: 10.239.253.0/24 via: IPsocks
>> port = 180
> 
> Is this a typo?
IPsocks was some kind of IP-number.

> 
>>         protocol: tcp
>>         proxyprotocol: socks_v4 socks_v5
>>         method: none
>>
>> So I would do
>>
>> 	(add-to-list 'tramp-default-proxies-alist
>>              '(list "MyMachineName" nil "/socks:IPsocks#1080:"))
>>
>> but, first I do not know, if the syntax is correct and
>> second my Emacs version 22.1 gives me:
>>
>> 	Symbol's value as variable is void: tramp-default-proxies-alist
> 
> First, you must load Tramp in order to declare its variables:
> 
> (require 'tramp)
> 
> Usually, it is done by the autoloader when you access a remote host,
> but you want to customize Tramp before.
> 
> Then, you have quoted the list, which is wrong. You must write
> 
> (add-to-list 'tramp-default-proxies-alist
>              (list "MyMachineName" nil "/socks:IPsocks#1080:"))

I tried it without and with tramp 'required' and without the
quoted list... but  I get:

Debugger entered--Lisp error: (void-variable
tramp-default-proxies-alist)
  add-to-list(tramp-default-proxies-alist
("test.socksify.com" nil "/socks:141.36.72.254#1080:"))
  eval-buffer(#<buffer  *load*> nil "/home/fab/.emacs" nil
t)  ; Reading at buffer position 193
  load-with-code-conversion("/home/fab/.emacs"
"/home/fab/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "\b…¾

(require 'tramp)
(add-to-list 'tramp-default-proxies-alist
             (list "test.socksify.com" nil
"/socks:141.36.72.254#1080:"))

Strange!?

Thanks, Fabian

  parent reply	other threads:[~2007-08-23 21:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-22 22:33 tramp with socksify Fabian Braennstroem
2007-08-23  6:57 ` Michael Albinus
     [not found] ` <mailman.5172.1187852253.32220.help-gnu-emacs@gnu.org>
2007-08-23 21:47   ` Fabian Braennstroem [this message]
2007-08-24  4:13     ` Michael Albinus
     [not found]     ` <mailman.5236.1187928802.32220.help-gnu-emacs@gnu.org>
2007-08-24 21:31       ` Fabian Braennstroem
  -- strict thread matches above, loose matches on Subject: below --
2007-08-02  6:05 Fabian Braennstroem
2007-08-02  5:31 ` Michael Albinus
     [not found] ` <mailman.4224.1186032713.32220.help-gnu-emacs@gnu.org>
2007-08-02 22:22   ` Fabian Braennstroem
2007-08-02 22:22     ` Michael Albinus
     [not found]     ` <mailman.4278.1186093331.32220.help-gnu-emacs@gnu.org>
2007-08-03 12:41       ` Fabian Braennstroem
2007-08-03 13:30         ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='faknl2$hnk$1@tamarack.fernuni-hagen.de' \
    --to=f.braennstroem@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.