Re: DHCP in Ad-Hoc Wireless Network



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please keep replies on list -- no guarantee of 1 on 1 support.

You'd have to figure out what was even doing the DHCP leasing.

Angela María Vargas Arcila wrote:
> Hi,
> 
> I check /var/lib/dhcp3 directory and it has dhclient.leases file, but
> this file don have nothing. Now I use ps -aux | grep dhcp commnad for
> help and I got:
> 
> angela angela-laptop:/var/lib/dhcp3$ ps -aux | grep dhcp
> Warning: bad ps syntax, perhaps a bogus '-'? See
> http://procps.sf.net/faq.html
> nobody    5697  0.0  0.0   2388   984 ?        S    11:22   0:00
> /usr/sbin/dnsmasq --no-hosts --keep-in-foreground --bind-interfaces
> --no-poll --except-interface=lo --listen-address=10.42.43.1
> --dhcp-range=10.42.43.10,10.42.43.100,60m
> --dhcp-option=option:router,10.42.43.1 --dhcp-lease-max=50
> --pid-file=/var/run/nm-dnsmasq-wlan0.pid
> root      5967  0.0  0.0   2276  1008 ?        S    11:33   0:00
> /sbin/dhclient -d -sf /usr/lib/NetworkManager/nm-dhcp-client.action -pf
> /var/run/dhclient-eth0.pid -lf /var/lib/dhcp3/dhclient-eth0.lease -cf
> /var/run/nm-dhclient-eth0.conf eth0
> angela   12542  0.0  0.0   3352   812 pts/1    S+   16:47   0:00 grep dhcp
> 
> It show the range of directions but the file??
> My distribution of Linux is Ubuntu 9.04.
> 
> Help me please.
> 
> Thanks and best regards.
> 
> 
> Angela Vargas
> 
> 
> 2009/9/15 Ryan Novosielski <novosirj umdnj edu <mailto:novosirj umdnj edu>>
> 
> Depends on what distribution of Linux you're using. Probably /var/lib
> somewhere. You should check the contents of your dhcpd or dhcp-server
> package, whatever it's called.
> 
> =R
> 
> Angela María Vargas Arcila wrote:
>> Hello,
> 
>> I have created an Ad-Hoc Wireless Network in my laptop and I have
> other
>> PCs conecting in this network. Then, I want to know (in my laptop)
> where
>> is the file that contain the IP addresses assigned.
> 
> 
> 
> ------------------------------------------------------------------------
> 
>> _______________________________________________
>> NetworkManager-list mailing list
>> NetworkManager-list gnome org <mailto:NetworkManager-list gnome org>
>> http://mail.gnome.org/mailman/listinfo/networkmanager-list
> 
> 

_______________________________________________
NetworkManager-list mailing list
NetworkManager-list gnome org <mailto:NetworkManager-list gnome org>
http://mail.gnome.org/mailman/listinfo/networkmanager-list




- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj umdnj edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/CST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqw/EAACgkQmb+gadEcsb6z2gCfXT+ZKMh423S+VDLmaFYx2tLD
3QYAn3eb0fmulqYj3lrXNZc/jjjvIhBS
=uIKS
-----END PGP SIGNATURE-----

begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:novosirj umdnj edu
title:Systems Programmer II
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]