Hello
Just replaced my firewall / router machine running Slackware 10.0 with
Debian Sarge and am trying to get things back to work.
This machine has two network interfaces - wired (eth0) and wireless (where
the trouble is). The wired interface connects to the internet via a cable
modem. The wireless interface was ( and will be with your help) used as an
access point (Netgear MA311) with hostap drivers.
I have hotplug and that loads orinoco_pci driver as soon as it detects the
wireless device as eth1. Now, following some advice I located through
google, I added orinoco_pci, orinoco_cs, orinoco_plx and hermes
to /etc/hotplug/blacklist. In /etc/modutils/aliases, I added an entry for
wlan0 against hostap_pci. To /etc/network/interfaces, I added :
iface wlan0 inet static
address 192.168.1.1
netmask 255.255.255.0
pre-up modprobe hostap_pci
post-up /sbin/iwconfig wlan0 essid homenetwork mode Master
Now, when I boot up, orinoco_pci, orinoco and hermes get loaded for no
apparent reason (they are in the blacklist, right ?) and when I try to
bring up wlan0 with ifup, I get :
SIOCSIFADDR: No such device
wlan0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
wlan0: ERROR while getting interface flags: No such device
Failed to bring up wlan0.
/sbin/iwconfig reveals that eth1 is already defined as the wireless device.
How do I ensure that orinoco* never get loaded and eth1 never created. I
need wlan0 to come up instead.
GC
|