Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-15-2003, 06:18 PM   #1
Senior Member
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
question on ad-hoc n/ws

hey all.
i have a doubt (and i cant clear it up myself right now, as i only have 1 card on me).
its how ad-hoc connections work. when a cell is formed by one machine, and another one joins that particular cell, does it get the ip addr thro dhcp, or is it assigned one by the machine which first formed the cell?

so, if i want to connnect to an ad-hoc n/w, after specifying the cell's essid, would i have to get an ip addr for my machine via dhcp, or will i have gotten one when i give the cell essid thro iwconfig?

Old 11-16-2003, 02:15 AM   #2
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Rep: Reputation: 30
You are talking about two different things here (or at least two different network layers).

Ad-hoc network is like you have a network hub connected to your computer and you are going to to around and connect cables to everyone elses computers in range that has the same SSID that you have. (This differs from the "managed access point" network type that is like having a building wired with jacks so that you can plug into any one of them and connect to the entire network in the building by just talking through that one connection) This act alone makes a physical connection only, but has nothing to do with talking TCP/IP.

Your TCP/IP parameters will only get autoconfigured via DHCP if you have a DCHP server somewhere on your network. Otherwise you'll have to manually configure you computer with IP address information that is compatible with the network that you are attempting to connect to.


That said, if you have either some kind of wireless access point / router or Windows machine with a functioning ICS service running or a Linux machine with dhcpd running, then you probably have a DHCP server.
Old 11-16-2003, 02:41 PM   #3
Senior Member
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
right, so dhcpd it is.
thanks for your response.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
linux ad hoc network with WMM: question elisewin Linux - Wireless Networking 0 11-30-2005 04:31 AM
ad-hoc connection (and internet sharing) between two linux boxes. A complex question. riccisit Linux - Wireless Networking 1 09-29-2005 10:02 AM
ad hoc in linux rajen_iiit Linux - Networking 1 08-07-2005 03:42 PM
ad-hoc in Linux. How? dimgr Linux - Wireless Networking 1 04-13-2005 01:23 PM
Routing through Ad-hoc fujijr Linux - Wireless Networking 9 11-27-2004 06:43 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration