Problems with setting Wireless Testbed in FC6
I am trying to set my computer as an Access point, so I could test multi-hop situations and routing, using this computer as a testbed.
However, other computers cannot recognize the wireless card of my computer. I have tried with the FC4, and it worked fine there. The problem is trying to set it with FC6.
What I did was try the same routine I did with FC4 to FC6. I hope that someone can tell me where I got it wrong.
First I installed the FC6, then I downloaded the wi-fi driver to set my wireless card. The computer had no problems recognizing the driver and the wireless card.
Then I set the /etc/sysconfig/network-scripts/ifcfg-ath0 using vi editor.
DEVICE=ath0
ONBOOT=yes
TYPE=wireless
#BOOTPROTO=dhcp
ESSID="Mesh Test"
RATE=auto
IPADDR=192.168.1.1
GATEWAY=192.168.1.1
Then with the vi editor, I set the /etc/sysconfig/network.
NETWORKING=yes
FORWARD_IPV4=yes
Then I set the DHCP. In FC4, I set the dhcpd, but in FC6, I set it to dhcdbd.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.60;
default-lease-time 86400;
max-lease-time 86400;
option routers 192.168.1.1;
option ip-forwarding on;
option broadcast-address 192.168.1.255;
option subnet-mask 255.255.255.0;
}
Then I changed the /etc/rc.d/init.d/dhcdbd
/sbin/route add -host 255.255.255.255 dev ath0
Then I set the /etc/sysconfig/dhcdbd
DHCPDARGS=ath0
Then I started the dhcdbd again.
After that, I set the iptables to what I need and restarted that.
After all this, the other computers cannot recognize my coomputer as an access point.
In FC4, instead of setting all the dhcdbd, I set it to dhcpd, because that is the file name in FC4. But in FC6, it is dhcdbd instead, so all my file name is like that as well.
I think my explanation is very vague, but I hope someone can help me with this.
|