You are not logged in.

#1 2011-07-29 19:30:27

Burroughs
Member
From: Naples (Italy)
Registered: 2010-02-15
Posts: 37

[Solved] knockd and wlan0 interface

Hello to everyone!

I'd like to strengthen the remote connection to my laptop using ssh and, as you can see from the subject of my topic, knockd.
The problem I'm facing is very, very simple: I've already set up the daemon specifying the knock sequence, in the /etc/knockd.conf file, adding then the knockd daemon to the /etc/rc.conf file.
The problem is that, when I launch knockd I get the following error message:

[root@mody ~]# /etc/rc.d/knockd start...could not get IP address for eth0

How can I tell knockd to use the wlan0 interface rather than eth0?
Other distributions have a file, /etc/conf.d/knockd, or something like that, but I've found nothing similar in Arch.
Any help will be greatly appreciated.

Burroughs.

Last edited by Burroughs (2011-07-30 11:12:31)


"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)

Offline

#2 2011-07-29 20:06:51

Coacher
Guest

Re: [Solved] knockd and wlan0 interface

See this http://linux.die.net/man/1/knockd about -i option

#3 2011-07-29 20:06:59

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: [Solved] knockd and wlan0 interface

Add

interface = wlan0

to the options section in /etc/knockd.conf.
http://www.zeroflux.org/projects/knock


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#4 2011-07-30 11:12:54

Burroughs
Member
From: Naples (Italy)
Registered: 2010-02-15
Posts: 37

Re: [Solved] knockd and wlan0 interface

Stebalien wrote:

Add

interface = wlan0

to the options section in /etc/knockd.conf.
http://www.zeroflux.org/projects/knock

Thank you... :-)

Burroughs.


"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)

Offline

Board footer

Powered by FluxBB