Can't get IP by DHCP (Wired network)

Dmitry Bond imperator.bm at gmail.com
Mon Jul 9 21:13:17 UTC 2007


Hello, George.

You wrote:

> Can you do an strace on dhclient


> # strace dhclient

> George


e or directory)
stat64("/usr/lib/tls/i686/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/sse2/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/sse2", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbf9d8150)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/sse2/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/sse2", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/cmov", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/sse2/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/sse2/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/sse2", 0xbf9d8150)     = -1 ENOENT (No such file or directory)
open("/usr/lib/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/cmov", 0xbf9d8150)     = -1 ENOENT (No such file or directory)
open("/usr/lib/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 0
open("/lib/i486-linux-gnu/tls/i686/sse2/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu/tls/i686/sse2/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/tls/i686/sse2/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu/tls/i686/sse2", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/tls/i686/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu/tls/i686/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/tls/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu/tls/i686", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/tls/sse2/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu/tls/sse2/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/tls/sse2/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu/tls/sse2", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/tls/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu/tls/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/tls/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu/tls", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/i686/sse2/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu/i686/sse2/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/i686/sse2/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu/i686/sse2", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/i686/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu/i686/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu/i686", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/sse2/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu/sse2/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/sse2/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu/sse2", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i486-linux-gnu", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/i486-linux-gnu/tls/i686/sse2/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/tls/i686/sse2/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/tls/i686/sse2/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/tls/i686/sse2", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/tls/i686/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/tls/i686/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/tls/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/tls/i686", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/tls/sse2/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/tls/sse2/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/tls/sse2/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/tls/sse2", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/tls/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/tls/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/tls/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/tls", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/i686/sse2/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/i686/sse2/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/i686/sse2/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/i686/sse2", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/i686/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/i686/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/i686", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/sse2/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/sse2/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/sse2/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/sse2", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/cmov", 0xbf9d8150) = -1 ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
munmap(0xb7f1a000, 37746)               = 0
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=37746, ...}) = 0
mmap2(NULL, 37746, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7f1a000
close(4)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libnss_files.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\31\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=38416, ...}) = 0
mmap2(NULL, 41624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7dc9000
mmap2(0xb7dd2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x8) = 0xb7dd2000
close(4)                                = 0
munmap(0xb7f1a000, 37746)               = 0
open("/etc/services", O_RDONLY)         = 4
fcntl64(4, F_GETFD)                     = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=18038, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f23000
read(4, "# Network services, Internet sty"..., 4096) = 4096
read(4, "zis\t\t206/udp\nqmtp\t\t209/tcp\t\t\t\t# "..., 4096) = 4096
read(4, "52/tcp\tlotusnotes\t# Lotus Note\nl"..., 4096) = 4096
read(4, "\t\t\t# Bacula File Daemon\nbacula-f"..., 4096) = 4096
read(4, " (nocol)\nhostmon\t\t5355/udp\t\t\t# h"..., 4096) = 1654
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0xb7f23000, 4096)                = 0
time(NULL)                              = 1184014968
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 4
ioctl(4, SIOCGIFCONF, {0 -> 64, NULL})  = 0
ioctl(4, SIOCGIFCONF, {64, {{"lo", {AF_INET, inet_addr("127.0.0.1")}}, {"eth0:avahi", {AF_INET, inet_addr("169.254.5.200")}}}}) = 0
ioctl(4, SIOCGIFFLAGS, {ifr_name="lo", ifr_flags=IFF_UP|IFF_LOOPBACK|IFF_RUNNING}) = 0
ioctl(4, SIOCGIFFLAGS, {ifr_name="eth0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0
open("/proc/net/dev", O_RDONLY)         = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f23000
read(5, "Inter-|   Receive               "..., 1024) = 446
ioctl(4, SIOCGIFFLAGS, {ifr_name="lo", ifr_flags=IFF_UP|IFF_LOOPBACK|IFF_RUNNING}) = 0
read(5, "", 1024)                       = 0
close(5)                                = 0
munmap(0xb7f23000, 4096)                = 0
ioctl(4, SIOCGIFHWADDR, {ifr_name="eth0", ifr_hwaddr=00:16:36:4d:cf:3a}) = 0
close(4)                                = 0
brk(0x80ff000)                          = 0x80ff000
open("/etc/dhcp3/dhclient.conf", O_RDONLY) = 4
read(4, "# Configuration file for /sbin/d"..., 8192) = 1558
uname({sys="Linux", node="imperator-laptop", ...}) = 0
read(4, "", 8192)                       = 0
close(4)                                = 0
open("/var/lib/dhcp3/dhclient.leases", O_RDONLY) = 4
read(4, "lease {\n  interface \"eth0\";\n  fi"..., 8192) = 325
read(4, "", 8192)                       = 0
close(4)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=37746, ...}) = 0
mmap2(NULL, 37746, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7f1a000
close(4)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libnss_compat.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\16\0\000"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=30436, ...}) = 0
mmap2(NULL, 33348, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7dc0000
mmap2(0xb7dc7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x6) = 0xb7dc7000
close(4)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libnsl.so.1", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`0\0\000"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=79596, ...}) = 0
mmap2(NULL, 91944, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7da9000
mmap2(0xb7dbc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x12) = 0xb7dbc000
mmap2(0xb7dbe000, 5928, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7dbe000
close(4)                                = 0
munmap(0xb7f1a000, 37746)               = 0
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=37746, ...}) = 0
mmap2(NULL, 37746, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7f1a000
close(4)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libnss_nis.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\31\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=34352, ...}) = 0
mmap2(NULL, 37436, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7d9f000
mmap2(0xb7da7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x7) = 0xb7da7000
close(4)                                = 0
munmap(0xb7f1a000, 37746)               = 0
open("/etc/passwd", O_RDONLY)           = 4
fcntl64(4, F_GETFD)                     = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
_llseek(4, 0, [0], SEEK_CUR)            = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=1336, ...}) = 0
mmap2(NULL, 1336, PROT_READ, MAP_SHARED, 4, 0) = 0xb7f23000
_llseek(4, 1336, [1336], SEEK_SET)      = 0
munmap(0xb7f23000, 1336)                = 0
close(4)                                = 0
open("/var/lib/dhcp3/dhclient.leases", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
chown32("/var/lib/dhcp3/dhclient.leases", 100, -1) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f23000
write(4, "lease {\n  interface \"eth0\";\n  fi"..., 325) = 325
open("/var/run/dhclient.pid", O_WRONLY|O_CREAT|O_TRUNC, 0644) = 5
fcntl64(5, F_GETFL)                     = 0x1 (flags O_WRONLY)
fstat64(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f22000
_llseek(5, 0, [0], SEEK_CUR)            = 0
open("/etc/passwd", O_RDONLY)           = 6
fcntl64(6, F_GETFD)                     = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
_llseek(6, 0, [0], SEEK_CUR)            = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=1336, ...}) = 0
mmap2(NULL, 1336, PROT_READ, MAP_SHARED, 6, 0) = 0xb7f21000
_llseek(6, 1336, [1336], SEEK_SET)      = 0
munmap(0xb7f21000, 1336)                = 0
close(6)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 6
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(6, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(6)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 6
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(6, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(6)                                = 0
open("/etc/group", O_RDONLY)            = 6
fcntl64(6, F_GETFD)                     = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
_llseek(6, 0, [0], SEEK_CUR)            = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=926, ...}) = 0
mmap2(NULL, 926, PROT_READ, MAP_SHARED, 6, 0) = 0xb7f21000
_llseek(6, 926, [926], SEEK_SET)        = 0
munmap(0xb7f21000, 926)                 = 0
close(6)                                = 0
prctl(0x8, 0x1, 0, 0, 0)                = 0
capget(0x19980330, 0, {CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|0xf8000000, CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|0xf8000000, 0}) = 0
capset(0x19980330, 0, {CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|0xf8000000, CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|0xf8000000, 0}) = 0
setgid32(101)                           = 0
setuid32(100)                           = 0
capset(0x19980330, 0, {CAP_NET_BIND_SERVICE|CAP_NET_RAW, CAP_NET_BIND_SERVICE|CAP_NET_RAW, 0}) = 0
getpid()                                = 8346
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7dd4b08) = 8347
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 8347
--- SIGCHLD (Child exited) @ 0 (0) ---
time(NULL)                              = 1184014969
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 6
ioctl(6, SIOCGIFCONF, {0 -> 32, NULL})  = 0
ioctl(6, SIOCGIFCONF, {32, {{"lo", {AF_INET, inet_addr("127.0.0.1")}}}}) = 0
ioctl(6, SIOCGIFFLAGS, {ifr_name="lo", ifr_flags=IFF_UP|IFF_LOOPBACK|IFF_RUNNING}) = 0
ioctl(6, SIOCGIFHWADDR, {ifr_name="eth0", ifr_hwaddr=00:16:36:4d:cf:3a}) = 0
socket(PF_PACKET, SOCK_PACKET, 768)     = 7
bind(7, {sa_family=AF_PACKET, proto=0x6574, if12392, pkttype=PACKET_HOST, addr(0)={0, }, 16) = 0
setsockopt(7, SOL_SOCKET, SO_ATTACH_FILTER, "\v\0\0\0 \37\v\10", 8) = 0
time(NULL)                              = 1184014969
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
send(3, "<30>Jul 10 01:02:49 dhclient: Li"..., 69, MSG_NOSIGNAL) = 69
write(2, "Listening on LPF/eth0/00:16:36:4"..., 39Listening on LPF/eth0/00:16:36:4d:cf:3a) = 39
write(2, "\n", 1
)                       = 1
time(NULL)                              = 1184014969
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
send(3, "<30>Jul 10 01:02:49 dhclient: Se"..., 69, MSG_NOSIGNAL) = 69
write(2, "Sending on   LPF/eth0/00:16:36:4"..., 39Sending on   LPF/eth0/00:16:36:4d:cf:3a) = 39
write(2, "\n", 1
)                       = 1
fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0
close(6)                                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 6
setsockopt(6, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(6, {sa_family=AF_INET, sin_port=htons(68), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
time(NULL)                              = 1184014969
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
send(3, "<30>Jul 10 01:02:49 dhclient: Se"..., 58, MSG_NOSIGNAL) = 58
write(2, "Sending on   Socket/fallback", 28Sending on   Socket/fallback) = 28
write(2, "\n", 1
)                       = 1
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
gettimeofday({1184014969, 783636}, NULL) = 0
select(8, [6 7], [], [], {1, 216364})   = 0 (Timeout)
gettimeofday({1184014971, 2525}, NULL)  = 0
time(NULL)                              = 1184014971
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
send(3, "<30>Jul 10 01:02:51 dhclient: DH"..., 88, MSG_NOSIGNAL) = 88
write(2, "DHCPDISCOVER on eth0 to 255.255."..., 58DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6) = 58
write(2, "\n", 1
)                       = 1
sendto(7, "\377\377\377\377\377\377\0\0266M\317:\10\0E\20\1H\0\0\0"..., 342, 0, {sa_family=AF_PACKET, proto=0x6574, if12392, pkttype=PACKET_HOST, addr(0)={0, }, 16) = 342
gettimeofday({1184014971, 3153}, NULL)  = 0
select(8, [6 7], [], [], {5, 996847})   = 0 (Timeout)
gettimeofday({1184014977, 2564}, NULL)  = 0
time(NULL)                              = 1184014977
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
send(3, "<30>Jul 10 01:02:57 dhclient: DH"..., 88, MSG_NOSIGNAL) = 88
write(2, "DHCPDISCOVER on eth0 to 255.255."..., 58DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9) = 58
write(2, "\n", 1
)                       = 1
sendto(7, "\377\377\377\377\377\377\0\0266M\317:\10\0E\20\1H\0\0\0"..., 342, 0, {sa_family=AF_PACKET, proto=0x6574, if12392, pkttype=PACKET_HOST, addr(0)={0, }, 16) = 342
gettimeofday({1184014977, 3106}, NULL)  = 0
select(8, [6 7], [], [], {8, 996894})   = 0 (Timeout)
gettimeofday({1184014986, 2686}, NULL)  = 0
time(NULL)                              = 1184014986
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
send(3, "<30>Jul 10 01:03:06 dhclient: DH"..., 89, MSG_NOSIGNAL) = 89
write(2, "DHCPDISCOVER on eth0 to 255.255."..., 59DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15) = 59
write(2, "\n", 1
)                       = 1
sendto(7, "\377\377\377\377\377\377\0\0266M\317:\10\0E\20\1H\0\0\0"..., 342, 0, {sa_family=AF_PACKET, proto=0x6574, if12392, pkttype=PACKET_HOST, addr(0)={0, }, 16) = 342
gettimeofday({1184014986, 3551}, NULL)  = 0
select(8, [6 7], [], [], {14, 996449})  = 0 (Timeout)
gettimeofday({1184015001, 2750}, NULL)  = 0
time(NULL)                              = 1184015001
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
send(3, "<30>Jul 10 01:03:21 dhclient: DH"..., 88, MSG_NOSIGNAL) = 88
write(2, "DHCPDISCOVER on eth0 to 255.255."..., 58DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1) = 58
write(2, "\n", 1
)                       = 1
sendto(7, "\377\377\377\377\377\377\0\0266M\317:\10\0E\20\1H\0\0\0"..., 342, 0, {sa_family=AF_PACKET, proto=0x6574, if12392, pkttype=PACKET_HOST, addr(0)={0, }, 16) = 342
gettimeofday({1184015001, 3627}, NULL)  = 0
select(8, [6 7], [], [], {0, 996373})   = 0 (Timeout)
gettimeofday({1184015002, 2751}, NULL)  = 0
time(NULL)                              = 1184015002
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
send(3, "<30>Jul 10 01:03:22 dhclient: No"..., 53, MSG_NOSIGNAL) = 53
write(2, "No DHCPOFFERS received.", 23No DHCPOFFERS received.) = 23
write(2, "\n", 1
)                       = 1
time(NULL)                              = 1184015002
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
send(3, "<30>Jul 10 01:03:22 dhclient: No"..., 82, MSG_NOSIGNAL) = 82
write(2, "No working leases in persistent "..., 52No working leases in persistent database - sleeping.) = 52
write(2, "\n", 1
)                       = 1
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7dd4b08) = 11424
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 11424
--- SIGCHLD (Child exited) @ 0 (0) ---
time(NULL)                              = 1184015011
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7dd4b08) = 11753
exit_group(0)                           = ?
Process 8346 detached
imperator at imperator-laptop:~$ 







.. also, I found out that if I turn the modem OFF (disable its network
activity), then it gives me some address. But it looks like some local
address (Modem IP is 192.168.100.1 and it gives me something like
192.168.100.11) and I don't have any internet connection
with such ip.... But on my WinXP I immediately get another IP (like
87.237.115.* (which is actually my ISP IP). Maybe I should phone my
ISP and ask for some settings? (They actually only support Windows,
that's a trouble ,but maybe there is something common).

-- 
Best regards, 
 Dmitry                          mailto:Imperator.bm at gmail.com





More information about the ubuntu-users mailing list