mateusz@Mateusz-deb:~$ ls -ls /sbin/ | grep dhclient
0 lrwxrwxrwx 1 root root 9 2007-11-07 16:47 dhclient -> dhclient3
384 -rwsr-sr-x 1 root root 387496 2007-09-23 08:54 dhclient3
8 -rwxr-xr-x 1 root root 7283 2007-09-23 08:54 dhclient-script
mateusz@Mateusz-deb:~$ /sbin/dhclient3 wlan0
There is already a pid file /var/run/dhclient.pid with pid 9388
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit [url]http://www.isc.org/sw/dhcp/[/url]
SIOCSIFADDR: Permission denied
SIOCSIFFLAGS: Permission denied
SIOCSIFFLAGS: Permission denied
Listening on LPF/wlan0/00:0e:2e:ce:31:de
Sending on LPF/wlan0/00:0e:2e:ce:31:de
Sending on Socket/fallback
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
SIOCSIFADDR: Permission denied
SIOCSIFFLAGS: Permission denied
SIOCSIFNETMASK: Permission denied
SIOCSIFBRDADDR: Permission denied
SIOCSIFFLAGS: Permission denied
SIOCADDRT: Operation not permitted
bound to 192.168.1.109 -- renewal in 40772 seconds.
mateusz@Mateusz-deb:~$
czy ktoś moze wie jak uruchomić jednak ten ptogram jako zwykły user? Ogólnie moze mi też pomóc jakaś komenda lub mały skrypt który by uzyskiwał numer tak jak dhcient. Program dhcient jest w innym skrypcie i uruchamia się z systemem ale numerów w kde nie mam.
Z góry dzięki za pomoc.
mateusz@Mateusz-deb:~$ /sbin/dhclient
There is already a pid file /var/run/dhclient.pid with pid 25146
removed stale PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit [url]http://www.isc.org/sw/dhcp/[/url]
can't create /var/lib/dhcp3/dhclient.leases: Permission denied
SIOCSIFADDR: Permission denied
SIOCSIFFLAGS: Permission denied
SIOCSIFFLAGS: Permission denied
SIOCSIFADDR: Permission denied
SIOCSIFFLAGS: Permission denied
SIOCSIFFLAGS: Permission denied
Open a socket for LPF: Operation not permitted
przy wcześniejszych ustawieniach działało wiecej programu