Several chilli process in the same computer

wlan at mac.com wlan at mac.com
Fri May 16 11:28:01 UTC 2008


I also find 'lsof' one of the most useful little programs for  
inspecting a process' file descriptors and libraries.

# lsof -Pp <chilli-pid>
COMMAND  PID USER   FD   TYPE     DEVICE    SIZE    NODE NAME
chilli  4467 root  cwd    DIR        3,2    4096  294337 /root
chilli  4467 root  rtd    DIR        3,2    4096       2 /
chilli  4467 root  txt    REG        3,2    7426 1602952 /usr/local/ 
sbin/chilli
chilli  4467 root  mem    REG        3,2 1529392 3908293 /lib/ 
libc-2.4.so
chilli  4467 root  mem    REG        3,2   46652 3908309 /lib/ 
libnss_files-2.4.so
chilli  4467 root  mem    REG        3,2   21768 3908307 /lib/ 
libnss_dns-2.4.so
chilli  4467 root  mem    REG        3,2   33244  369033 /usr/lib/ 
libbstring.so.0.0.0
chilli  4467 root  mem    REG        3,2  120160 3908286 /lib/ld-2.4.so
chilli  4467 root  mem    REG        3,2   74552 3909868 /lib/ 
libresolv-2.4.so
chilli  4467 root  mem    REG        3,2  283824  369036 /usr/lib/ 
libchilli.so.0.0.0
chilli  4467 root  mem    REG        0,0               0 [vdso]  
(stat: No such file or directory)
chilli  4467 root    0r   CHR        1,3            1088 /dev/null
chilli  4467 root    1w   CHR        1,3            1088 /dev/null
chilli  4467 root    2w   CHR        1,3            1088 /dev/null
chilli  4467 root    3u  unix 0xc6889300          264945 socket
chilli  4467 root    4u   CHR     10,200            1085 /dev/net/tun
chilli  4467 root    5u  sock        0,4          264973 can't  
identify protocol
chilli  4467 root    6u  sock        0,4          264974 can't  
identify protocol
chilli  4467 root    7r   CHR        1,9            1675 /dev/urandom
chilli  4467 root    8u  IPv4     264975             UDP *:2175
chilli  4467 root    9u  IPv4     264976             TCP  
10.1.0.1:3990 (LISTEN)
chilli  4467 root   10u  IPv4     264977             TCP *:3991 (LISTEN)
chilli  4467 root   11u  unix 0xf5ed8300          264978 /var/run/ 
chilli.sock


On May 15, 2008, at 10:34 PM, Gunther Mayer wrote:

> Javier Larrea Armañanzas wrote:
>> Hi list,
>> is it possible to run several chilli process in the same  
>> computer?.  I'd like to do that so that I could set up different  
>> captive portals for several interfaces in differents vlans.  But I  
>> get this error debugging when I start the second process, although  
>> I use another uam port, uam listen ip, pid file, sock file and ip  
>> range for this process.
>>
>> redir.c: 932: 0 (Debug) UAM port already in use. Waiting for retry.
> There are a whole bunch of other ports that chilli opens. uamuiport  
> comes to mind, there might be others. Just run a "netstat -lu" when  
> running just one chilli process and you'll see which ones it opens.  
> All those you must of course explicitly state to be different for  
> all other processes.
>
> Gunther
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: chilli-unsubscribe at coova.org
> For additional commands, e-mail: chilli-help at coova.org
> Wiki: http://coova.org/wiki/index.php/CoovaChilli
> Forum: http://coova.org/phpBB3/viewforum.php?f=4
>




More information about the Chilli mailing list