Hi Matthias, You subscribed to the diamand support for FreeWRT. You get a answer under 1 hour. Please compare our consulting to other "companys" like Dell or IBM.
On Thu, 26 Apr 2007 at 1:41 +0200, Quade, Matthias wrote: > 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 | | Where is the connection between office and AP? I can't see the cable between "thick wall" and ap. > 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): Do you want to bridge "WLAN" and "LAN"? > [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! /etc/init.d/S40network restart is a little bit buggy, because it does not remove correctly the existing network configuration. Please just do "fwcf commit" and reboot, so that the AP has the correct network interfaces. For example eth1 shouldn't have an ip address. good luck Waldemar P.s.: my few words are a little bit sarcastic, I had a long day. Not every sysadmin day is a good day. -- don't open your wrt, free it http://www.freewrt.org _______________________________________________ freewrt-users mailing list freewrt-users@freewrt.org https://www.freewrt.org/lists/listinfo/freewrt-users