aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule 2.1.3: How to use another ethernet-interface  (Read 2394 times)

Codeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
aMule 2.1.3: How to use another ethernet-interface
« on: November 07, 2006, 01:10:21 PM »

Hi all,

I have a PC with two ethernet ports and I tried to use one for my normal connection and one for aMule. After trying around with iptables / ip I got no working filter  :(

Is there any possibility for telling aMule to use eth1 instead of eth0? Or does anyone know how to set up iptables for this?

Regards, Code
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule 2.1.3: How to use another ethernet-interface
« Reply #1 on: November 07, 2006, 05:40:21 PM »

check .aMule/amule.conf, there's an option to select the ip address to bind to.
Logged

Codeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: aMule 2.1.3: How to use another ethernet-interface
« Reply #2 on: November 08, 2006, 09:53:11 AM »

Kry,

thanks for your hint, but therre is no option. I guess I have to try the sources and bind hard-coded to an address or implement my own option for that  ;(

Regards, Code
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule 2.1.3: How to use another ethernet-interface
« Reply #3 on: November 08, 2006, 07:57:18 PM »

There is that option. I created that option. It must be there.
Logged

Codeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: aMule 2.1.3: How to use another ethernet-interface
« Reply #4 on: November 09, 2006, 08:56:19 AM »

Quote
Originally posted by Kry
There is that option. I created that option. It must be there.

What is the name of this option??? I cannot match any line with patterns I thaught that they should match. Perhaps this option is missing in my amule.conf?

Code
Logged

lfroen

  • Guest
Re: aMule 2.1.3: How to use another ethernet-interface
« Reply #5 on: November 09, 2006, 09:05:23 AM »

The option is what IP to use, not what ethernet interface. Application can not know layer under IP whether it's ethernet, PPP or anything else.
Logged

Codeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: aMule 2.1.3: How to use another ethernet-interface
« Reply #6 on: November 09, 2006, 10:25:15 AM »

Quote
Originally posted by lfroen
The option is what IP to use, not what ethernet interface. Application can not know layer under IP whether it's ethernet, PPP or anything else.

Yes, I understand. But what is the name of the option??? When I search for IP-Adresses in my amule.conf I find nothing what matches...

Code
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: aMule 2.1.3: How to use another ethernet-interface
« Reply #7 on: November 12, 2006, 01:25:22 AM »

Well, in fact I have double-checked my amule.conf file, (Using SVN from Nov. 5th) and I also fail to see the IP binding option  ?( It would also be useful for me, so I'm interested in it too :)

Thanks and regards.
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: aMule 2.1.3: How to use another ethernet-interface
« Reply #8 on: November 12, 2006, 06:36:12 PM »

I believe it's the "Address=" line in amule.conf.  To control which IP address is used for External Connections (i.e. connections from the remote control clients, like amuleweb, amulegui, and amulecmd), use "ECAddress=".  Each takes an IP address as the value.
Logged