Hi, my goal is to bring internet connectivity to a slightly remote place, perferably using my Linksys WRT54G:
,---- | r...@openwrt:~# cat /proc/cpuinfo | system type : Broadcom BCM5352 chip rev 0 | processor : 0 | cpu model : BCM3302 V0.8 | BogoMIPS : 199.47 | wait instruction : no | microsecond timers : yes | tlb_entries : 32 | extra interrupt vector : no | hardware watchpoint : no | VCED exceptions : not available | VCEI exceptions : not available | r...@openwrt:~# `---- The box runs OpenWRT Kamikaze ,---- | r...@openwrt:~# cat /etc/openwrt_version | 8.09 | r...@openwrt `---- WDS would have been an option for me but my Modem/Router (AVM FritzBox 7141) says, encrypted WDS is not suported with devices of different manufacturers than AVM :-( Okay, so I need Client mode. http://oldwiki.openwrt.org/OpenWrtDocs(2f)Kamikaze(2f)ClientMode.html Sorry, but I coud not figure out what I might need to do. What I managed is to have access to the box solely using WLAN. Here my configuration: ,----[ /etc/config/network ] | config 'switch' 'eth0' | option 'vlan0' '0 1 2 3 5*' | option 'vlan1' '4 5' | | config 'interface' 'loopback' | option 'ifname' 'lo' | option 'proto' 'static' | option 'ipaddr' '127.0.0.1' | option 'netmask' '255.0.0.0' | | config 'interface' 'lan' | option 'type' 'bridge' | option 'ifname' 'eth0.0' | option 'proto' 'static' | option 'netmask' '255.255.255.0' | option 'ipaddr' '192.168.0.199' | option 'gateway' '192.168.0.222' | option 'dns' '192.168.0.222' | | config 'interface' 'wan' | option 'ifname' 'eth0.1' | option 'proto' 'dhcp' `---- ,----[ /etc/config/wireless ] | config 'wifi-device' 'wl0' | option 'type' 'broadcom' | option 'disabled' '0' | option 'channel' 'auto' | | config 'wifi-iface' | option 'device' 'wl0' | option 'network' 'lan' | option 'ssid' 'MySSID' | option 'mode' 'sta' | option 'encryption' 'psk2' | option 'key' 'My_Secret' | `---- This is what ifconfig says: ,---- | r...@openwrt:~# ifconfig | br-lan Link encap:Ethernet HWaddr 00:16:B6:D8:F1:D6 | inet addr:192.168.0.199 Bcast:192.168.0.255 Mask:255.255.255.0 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | RX packets:7263 errors:0 dropped:0 overruns:0 frame:0 | TX packets:1951 errors:0 dropped:0 overruns:0 carrier:0 | collisions:0 txqueuelen:0 | RX bytes:984614 (961.5 KiB) TX bytes:1226155 (1.1 MiB) | | eth0 Link encap:Ethernet HWaddr 00:16:B6:D8:F1:D6 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | RX packets:63 errors:0 dropped:0 overruns:0 frame:0 | TX packets:5614 errors:0 dropped:0 overruns:0 carrier:0 | collisions:0 txqueuelen:1000 | RX bytes:6708 (6.5 KiB) TX bytes:810061 (791.0 KiB) | Interrupt:4 | | eth0.0 Link encap:Ethernet HWaddr 00:16:B6:D8:F1:D6 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | RX packets:63 errors:0 dropped:0 overruns:0 frame:0 | TX packets:4889 errors:0 dropped:0 overruns:0 carrier:0 | collisions:0 txqueuelen:0 | RX bytes:5574 (5.4 KiB) TX bytes:442875 (432.4 KiB) | | eth0.1 Link encap:Ethernet HWaddr 00:16:B6:D8:F1:D6 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | RX packets:0 errors:0 dropped:0 overruns:0 frame:0 | TX packets:726 errors:0 dropped:0 overruns:0 carrier:0 | collisions:0 txqueuelen:0 | RX bytes:0 (0.0 B) TX bytes:294756 (287.8 KiB) | | lo Link encap:Local Loopback | inet addr:127.0.0.1 Mask:255.0.0.0 | UP LOOPBACK RUNNING MTU:16436 Metric:1 | RX packets:3380 errors:0 dropped:0 overruns:0 frame:0 | TX packets:3380 errors:0 dropped:0 overruns:0 carrier:0 | collisions:0 txqueuelen:0 | RX bytes:258464 (252.4 KiB) TX bytes:258464 (252.4 KiB) | | wl0 Link encap:Ethernet HWaddr 00:16:B6:D8:F1:D8 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | RX packets:7311 errors:0 dropped:0 overruns:0 frame:200971 | TX packets:2018 errors:0 dropped:0 overruns:0 carrier:0 | collisions:0 txqueuelen:1000 | RX bytes:1094259 (1.0 MiB) TX bytes:1248977 (1.1 MiB) | Interrupt:2 Base address:0x5000 | | r...@openwrt:~# `---- Any hints what should I do to use one or more of the boxes Ethernet plugs to connect attached devices to the internet? Since bridge mode seems to be a really bad idea[1] I prefer a NATted setup. Thanks in advance for any hints that brings me to a solution, Sebastian [1]https://forum.openwrt.org/viewtopic.php?pid=58672#p58672 _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-users
