[TAG] Answer blog
jcreigh at gmail.com
Sat Feb 11 19:51:38 MSK 2006
On Fri, Feb 10, 2006 at 03:03:21PM -0500, Benjamin A. Okopnik wrote:
> On Fri, Feb 10, 2006 at 11:26:59AM -0800, Kapil Hari Paranjape wrote:
> > Just to be completely clear. I have not managed to get two laptops
> > to communicate with each other using ad-hoc mode. Both sides say the
> > (wireless) link is up, but I couldn't get them to send IP packets to
> > each other. I have only managed to get an IP link when there is a
> > common access point (hub).
> That's something I'd really like to learn to do myself. I've thought
> about it on occasion, and it always seemed like a doable thing - but I
> never got any further than that, so a description of the actual setup
> would be a really cool thing.
Huh. Weird. I've got an ad-hoc network set up with my PC and my sister's
laptop, and it "just works". The network card in my PC is a Netgear PCI
MA311, with the "Prism 2.5" chipset. ("orinoco_pci" is the name of the
:r!lspci | grep -i prism
0000:00:0e.0 Network controller: Intersil Corporation Prism 2.5 Wavelan chipset (rev 01)
The stanza in /etc/network/interfaces is:
iface eth1 inet static
FWIW, the commands I was using to bring up the interface before I
switched to Debian were:
/sbin/ifconfig eth1 10.42.42.1 netmask 255.255.255.0
/usr/sbin/iwconfig eth1 mode Ad-Hoc
/usr/sbin/iwconfig eth1 essid "jason"
/usr/sbin/iwconfig eth1 key "XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX"
I have dnsmasq providing DHCP and DNS. The laptop is running Windows
2000 with some off-brand PCMCIA wifi card.
More information about the TAG