[Dnsmasq-discuss] DHCP error

Ang Hiem Hok nox_exile at yahoo.com
Thu May 8 05:46:14 BST 2008


Please help me, I already installed dnsmasq and i want to create DHCP server but i have this message:
root at xxx:/etc# dnsmasq start
dnsmasq: failed to bind listening socket for fe80::216:d4ff:fe8d:c717: Address already in use

after that, i use nmap:
root at xxx:/etc# nmap 127.0.0.1
Starting Nmap 4.20 ( http://insecure.org ) at 2008-05-08 11:27 WIT
Interesting ports on localhost (127.0.0.1):
Not shown: 1691 closed ports
PORT     STATE SERVICE
53/tcp   open  domain
111/tcp  open  rpcbind
139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds
631/tcp  open  ipp
2049/tcp open  nfs
Nmap finished: 1 IP address (1 host up) scanned in 0.123 seconds

and i use lsof:
root at xxx:/etc# lsof -i
COMMAND    PID   USER   FD   TYPE DEVICE SIZE NODE NAME
portmap   4274 daemon    3u  IPv4  14935       UDP *:sunrpc 
portmap   4274 daemon    4u  IPv4  14936       TCP *:sunrpc (LISTEN)
rpc.statd 4293  statd    5r  IPv4  14992       UDP *:653 
rpc.statd 4293  statd    7u  IPv4  15010       UDP *:32768 
rpc.statd 4293  statd    8u  IPv4  15080       TCP *:56542 (LISTEN)
avahi-dae 5070  avahi   14u  IPv4  17475       UDP *:mdns 
avahi-dae 5070  avahi   15u  IPv4  17476       UDP *:32770 
cupsd     5100   root    3u  IPv4  23829       TCP localhost:ipp (LISTEN)
rpc.mount 5206   root    6u  IPv4  17714       UDP *:32772 
rpc.mount 5206   root    7u  IPv4  17719       TCP *:45506 (LISTEN)
nmbd      5245   root    6u  IPv4  17773       UDP *:netbios-ns 
nmbd      5245   root    7u  IPv4  17774       UDP *:netbios-dgm 
nmbd      5245   root    8u  IPv4  17776       UDP reginald-laptop.local:netbios-ns 
nmbd      5245   root    9u  IPv4  17777       UDP reginald-laptop.local:netbios-dgm 
smbd      5247   root   18u  IPv4  17831       TCP *:microsoft-ds (LISTEN)
smbd      5247   root   19u  IPv4  17832       TCP *:netbios-ssn (LISTEN)
dnsmasq   7408 nobody    5u  IPv6  25106       TCP [fe80::216:d4ff:fe8d:c717]:domain (LISTEN)
dnsmasq   7408 nobody    6u  IPv6  25107       UDP [fe80::216:d4ff:fe8d:c717]:domain 
dnsmasq   7408 nobody    7u  IPv6  25108       TCP ip6-localhost:domain (LISTEN)
dnsmasq   7408 nobody    8u  IPv6  25109       UDP ip6-localhost:domain 
dnsmasq   7408 nobody    9u  IPv4  25110       TCP reginald-laptop.local:domain (LISTEN)
dnsmasq   7408 nobody   10u  IPv4  25111       UDP reginald-laptop.local:domain 
dnsmasq   7408 nobody   11u  IPv4  25112       TCP localhost:domain (LISTEN)
dnsmasq   7408 nobody   12u  IPv4  25113       UDP localhost:domain 
dnsmasq   7408 nobody   13u  IPv4  25114       UDP *:bootps 
dnsmasq   7408 nobody   17u  IPv4  25120       UDP *:32775 

after that, i use netstat:
root at xxx:/etc# netstat -ap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 *:nfs                   *:*                     LISTEN     -                   
tcp        0      0 *:45506                 *:*                     LISTEN     5206/rpc.mountd     
tcp        0      0 *:netbios-ssn           *:*                     LISTEN     5247/smbd           
tcp        0      0 *:48398                 *:*                     LISTEN     -                   
tcp        0      0 *:sunrpc                *:*                     LISTEN     4274/portmap        
tcp        0      0 localhost:domain        *:*                     LISTEN     7408/dnsmasq        
tcp        0      0 reginald-laptop.:domain *:*                     LISTEN     7408/dnsmasq        
tcp        0      0 localhost:ipp           *:*                     LISTEN     5100/cupsd          
tcp        0      0 *:microsoft-ds          *:*                     LISTEN     5247/smbd           
tcp        0      0 *:56542                 *:*                     LISTEN     4293/rpc.statd      
tcp6       0      0 ip6-localhost:domain    *:*                     LISTEN     7408/dnsmasq        
tcp6       0      0 fe80::216:d4ff:f:domain *:*                     LISTEN     7408/dnsmasq        
udp        0      0 *:32768                 *:*                                4293/rpc.statd      
udp        0      0 *:nfs                   *:*                                -                   
udp        0      0 *:32770                 *:*                                5070/avahi-daemon:  
udp        0      0 *:32771                 *:*                                -                   
udp        0      0 *:32772                 *:*                                5206/rpc.mountd     
udp        0      0 *:32775                 *:*                                7408/dnsmasq        
udp        0      0 reginald-lap:netbios-ns *:*                                5245/nmbd           
udp        0      0 *:netbios-ns            *:*                                5245/nmbd           
udp        0      0 reginald-la:netbios-dgm *:*                                5245/nmbd           
udp        0      0 *:netbios-dgm           *:*                                5245/nmbd           
udp        0      0 *:653                   *:*                                4293/rpc.statd      
udp        0      0 localhost:domain        *:*                                7408/dnsmasq        
udp        0      0 reginald-laptop.:domain *:*                                7408/dnsmasq        
udp        0      0 *:bootps                *:*                                7408/dnsmasq        
udp        0      0 *:mdns                  *:*                                5070/avahi-daemon:  
udp        0      0 *:sunrpc                *:*                                4274/portmap        
udp6       0      0 ip6-localhost:domain    *:*                                7408/dnsmasq        
udp6       0      0 fe80::216:d4ff:f:domain *:*                                7408/dnsmasq        
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node PID/Program name    Path
unix  2      [ ACC ]     STREAM     LISTENING     17301    4990/X              /tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     15841    4877/dbus-daemon    @/tmp/dbus-6si8T8f0zG
.... bla bla

so, what i must to do to make my dnsmasq run normally??

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20080507/12627239/attachment-0001.htm


More information about the Dnsmasq-discuss mailing list