bridge hostap to another AP --- questions

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn
Fri Mar 30 07:45:42 PDT 2007


On Fri, 30 Mar 2007, Dimitris Theoharis wrote:

> I need a good interfaces file to see how you all have it set up. THis
> is mine and it doesn not work. THanks
>
>
> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
>
> # The loopback interface
> # automatically added when upgrading
> auto lo
> #iface lo inet loopback
> #auto eth1_rename
>
> iwpriv wlan0 wds_add  00:0F:B5:93:F9:67
>
> brctl addbr br0
> brctl addif wlan0wds0
> brctl addif wlan0
> brctl addif wlan0wds0
> brctl addif eth1_rename ifconfig br0 10.0.0.10 up
>
> ifconfig wlan0 0.0.0.0 up
> ifconfig wlan0wds 0.0.0.0 up
> ifconfig eth1_rename 0.0.0.0 up
>
>
> i get this error
>
>
>  /etc/init.d/networking restart
> Reconfiguring network interfaces.../etc/network/interfaces:9: misplaced option
> ifdown: couldn't read interfaces file "/etc/network/interfaces"
> /etc/network/interfaces:9: misplaced option
> ifup: couldn't read interfaces file "/etc/network/interfaces"
> failed.

RTFM.

% man interfaces

/etc/network/interfaces is not a script, it's a configuration file.


hth,
Cristian




More information about the Hostap mailing list