Hi folkes,

I've installed an image from the webbuilder (including the bridge-utils)
and want to solve this problem:

WLAN AP                 |               |       Some office computers
192.168.2.1             |   Thick wall  |       with cable connection 
dhcp-server             |               |       only
with I-net access       |               |


I belive that a bridge could solve this. But I didn't managed it...
Exspecialy I don't know, what to put into  /etc/network/interfaces.
For now (no enc):

[EMAIL PROTECTED]:~# grep -v ^\# /etc/network/interfaces 

auto lo
iface lo inet loopback

auto eth0.1
iface eth0.1 inet dhcp
        switch-ports 0 5

auto eth1
iface eth1 inet manual
        wireless-bridge-if br0
        wireless-type broadcom
        wireless-country DE
        wireless-mode ap
        wireless-ssid FreeWRT
        wireless-channel 11
        wireless-security none

auto eth0.0
iface eth0.0 inet manual
        switch-ports 1 2 3 4 5*

auto br0
iface br0 inet static
        bridge-ifaces eth0.0 eth1
        address 192.168.2.10
        netmask 255.255.255.0
        broadcast +



A "# /etc/init.d/S40network restart" results in
vconfig: socket or ioctl error for add: Invalid argument
info, udhcpc (v0.9.9-pre) started
debug, Sending discover...
debug, Sending discover...
debug, Sending discover...
info, No lease, forking to background.
Setting country code "DE"
wsec is 0 (off)
Setting SSID "FreeWRT"
vconfig: socket or ioctl error for add: Invalid argument

and:
[EMAIL PROTECTED]:~# ip addr show
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP,100> mtu 1500 qdisc pfifo_fast qlen
1000
    link/ether 00:13:10:2f:cd:70 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,100> mtu 1500 qdisc pfifo_fast qlen
1000
    link/ether 00:90:4c:5f:00:2a brd ff:ff:ff:ff:ff:ff
    inet 192.168.10.1/24 brd 192.168.10.255 scope global eth1
4: eth0.0: <BROADCAST,MULTICAST,UP,100> mtu 1500 qdisc noqueue 
    link/ether 00:13:10:2f:cd:70 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.1/24 brd 192.168.1.255 scope global eth0.0
5: eth0.1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue 
    link/ether 00:13:10:2f:cd:70 brd ff:ff:ff:ff:ff:ff
6: br0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue 
    link/ether 00:13:10:2f:cd:70 brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.10/24 brd 192.168.2.255 scope global br0


and:
[EMAIL PROTECTED]:~# ip route show
192.168.2.0/24 dev br0  src 192.168.2.10 
192.168.1.0/24 dev eth0.0  src 192.168.1.1 
192.168.10.0/24 dev eth1  src 192.168.10.1 


But that all doesn't work...
So maybe someone could drop me a hint!

Kind regards so far,

Matthias Quade

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
freewrt-users mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-users

Reply via email to