I have been trying to get my two systems talking to each other via
wlan.  It appears that there may be more the problem than simple 
configuration, though I am not certain (yet).

I tried first setting IP addresses for my two wlan cards via linuxconf 
(10.0.0.1 for one system, 10.0.0.2 for the other).  Setup for ad-hoc mode 
and...nothing.  No communication.  Then, I followed the instructions from the 
web (O'Reilly) for doing this for multiple machines by running a dhcp server 
on one box.  Though I only have two at this point, I setup a dhcp server on 
my laptop and have it listening on my wlan card (Prism 2).  At first, I tried 
setting my desktop (with Orinoco Gold) to simply use DHCP.  I would run "ifup 
eth0" on my desktop and I would get a message in my laptop /var/log/messages 
thus:

Jun  3 13:35:57 localhost dhcpd: DHCPDISCOVER from 00:02:2d:3c:26:71 via wlan0
Jun  3 13:35:57 localhost dhcpd: icmp_echorequest 10.0.0.255: Permission 
denied
Jun  3 13:35:58 localhost dhcpd: DHCPOFFER on 10.0.0.255 to 00:02:2d:3c:26:71 
via wlan0

The desktop dhcp request would timeout and I'd end up without a connection 
and the desktop without an assigned IP.  I then altered the dhcpd.conf file 
to give the desktop a static IP (assigning the MAC address to 10.0.0.5).  I 
then would run "ifup eth0" on the desktop and it would then produce:

Jun  3 15:31:39 localhost dhcpd: DHCPDISCOVER from 00:02:2d:3c:26:71 via wlan0
Jun  3 15:31:39 localhost dhcpd: DHCPOFFER on 10.0.0.5 to 00:02:2d:3c:26:71 
via wlan0
Jun  3 15:32:09 localhost dhcpd: DHCPDISCOVER from 00:02:2d:3c:26:71 via wlan0
Jun  3 15:32:09 localhost dhcpd: DHCPOFFER on 10.0.0.5 to 00:02:2d:3c:26:71 
via wlan0
Jun  3 15:32:50 localhost dhcpd: DHCPDISCOVER from 00:02:2d:3c:26:71 via wlan0

Repeated requests from the desktop and a reply, apparently, from the laptop 
dhcp server, but no success in assigning an IP.

So, first a bit more information.  I wanted to assign (and believe I have) 
10.0.0.1 to my laptop/dhcp server.  Doing "ifconfig wlan0" on the laptop 
indicates it is set to 10.0.0.1.   I set the gateway to 10.0.0.1 as well on 
my desktop - as right now it is my laptop that can do dialup connections and 
would act as the gateway to the net if I get this working.  When I manage to 
locate a PCI non-winmodem, I will swap it around so that my desktop is the 
server and the laptop...

Is the setup I describe correct?  Why do I get the icmp request denied from 
my desktop to laptop dhcp server when I simply set the dhcp server to assign 
any address (it seems to default to offering the last IP address in the range 
I notice) but do not when I set up to assign a static IP to my desktop?

The other potential problem here may be hardware.  The laptop works fine, as 
does the wlan card.  The desktop is an unknown quantity.  I have a 
PCI-to-PCMCIA adaptor in it to go along with the Orinoco Gold card.  The 
modules it loads are wvlan_cs, ds, and yenta_socket.  I have read that there 
may be a problem with using the yenta_socket involving a problem with the PCI 
bridge on recent mobos...I do get Tx timeouts wrt the Orinoco card during 
startup which some say is an indication of the hardware problem between 2.4 
kernels, yenta, and the PCI bridge.  One suggestion was to try using i82365 
instead of yenta_socket (how?).  I tried this but it is impossible...nothing 
but incorrect symbols, etc.  

Anyone have any wisdom to impart vis a vis dhcpd and my situation?  Wlan in 
general and my situation?  

praedor

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to