OpenWRT Wlan configuration - kein internet!

  • Ersteller pfannkuchen2001
  • Erstellt am
pfannkuchen2001

pfannkuchen2001

Aktives Mitglied
Thread Starter
Dabei seit
17.02.2006
Beiträge
2.600
Reaktionspunkte
48
Hi,

ich habe hier einen kleinen Router (TP-LINK TL-WR703N) auf dem nun OpenWRT läuft.
Dieser Router hat 1xLAN und Wifi.

ich möchte nun dass:

1. der Router sich per DHCP eine Adresse aus dem LAN holt (klappt)
2. Wlan funktioniert (incl. DHCP) --> klappt auch
3. WLAN clients internet haben. KLAPPT NICHT.

Das einzige was funktioniert ist, dass die WLAN clients eine DHCP adresse zugewiesen bekommen.

Auf dem Router kann ich google anpingen, auf den WLAN clients nicht.

Hier sind die Config dateien:
Code:
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 ATTITUDE ADJUSTMENT (bleeding edge, r30919) ----------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------
root@OpenWrt:~# cat /etc/config/network 

config interface 'loopback'
	option ifname 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config interface 'wifi'
	option 'proto' 'static'
	option 'ipaddr' '192.168.13.1'
	option 'netmask' '255.255.255.0'



config interface 'lan'
	option ifname 'eth0'
	option proto dhcp
root@OpenWrt:~# cat /etc/config/
dhcp      dropbear  firewall  luci      network   system    ubootenv  ucitrack  uhttpd    wireless
root@OpenWrt:~# cat /etc/config/wireless 
config wifi-device  radio0
	option type     mac80211
	option channel  11
	option macaddr	14:e6:e4:e2:64:b4
	option hwmode	11ng
	option htmode	HT20
	list ht_capab	SHORT-GI-20
	list ht_capab	SHORT-GI-40
	list ht_capab	RX-STBC1
	list ht_capab	DSSS_CCK-40
	# REMOVE THIS LINE TO ENABLE WIFI:



config 'wifi-iface'
        option 'device'     'radio0'
        option 'network'    'wifi'
        option 'mode'       'ap'
        option 'ssid'       'OpenWrt'
        option 'encryption' 'none' 
root@OpenWrt:~# cat /etc/config/firewall 
config defaults
	option syn_flood	1
	option input		ACCEPT
	option output		ACCEPT 
	option forward		REJECT
# Uncomment this line to disable ipv6 rules
#	option disable_ipv6	1

config zone
	opion name	wifi
	option input	ACCEPT
	option output	ACCEPT
	option forward	ACCEPT
	
config forwarding
	option src wifi
	option dest wan

config forwarding
	option src wan
	option dest wifi

	
config forwarding
	option src lan
	option dest wifi

config forwarding 
	option src wifi
	option dest lan




config zone
	option name		lan
	option network		'lan'
	option input		ACCEPT 
	option output		ACCEPT 
	option forward		REJECT

config zone
	option name		wan
	option network		'wan'
	option input		REJECT
	option output		ACCEPT 
	option forward		REJECT
	option masq		1 
	option mtu_fix		1

config forwarding 
	option src      	lan
	option dest     	wan


Hat jemand eine Idee, wo der Fehler sein kann!?


Danke,

Pfannkuchen
 
Zurück
Oben Unten