Netshroud Posted December 23, 2009 Share Posted December 23, 2009 Just thought I would share my fix/workaround for this: After installing the Jasager Firmare from Digininja's site, installing X-Wrt (Webif) and starting Karma, wireless clients dont get an IP address. dnsmasq si running. This is because (in my experience) ath0 is not bridged to the ethernet port. To fix this, I simply issued brctl addif br-lan ath0 to add ath0 to br-lan. This setting doesn't seem to stay between reboots of the Fon though. Quote Link to comment Share on other sites More sharing options...
taiyed14 Posted December 23, 2009 Share Posted December 23, 2009 you should be able to make that setting permanent by editing /etc/config/network...not sure of the exact syntax off the top of my head. Quote Link to comment Share on other sites More sharing options...
Netshroud Posted December 23, 2009 Author Share Posted December 23, 2009 From reading the OpenWRT Kamikaze documentation, it looks like I need to put option 'network' 'lan' under the config for ath0 in /etc/config/wireless. Problem is, there's no entry there, so I need to click on the button in the Jasager interface to create and setup ath0, then add it to the bridge. What should be added to /etc/config/wireless to create ath0? Currently it contains: config 'wifi-device' 'wifi0' option 'type' 'atheros' option 'disabled' '1' option 'country' '0' option 'hwmode' '11bg' option 'channel' '0' option 'maxassoc' '' option 'distance' '' option 'diversity' '1' option 'txantenna' '0' option 'rxantenna' '0' option 'antenna' '' Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted December 24, 2009 Share Posted December 24, 2009 Adding it to the bridged lan fixed my IP assigning issue. Now i just need to figure out how to get the darn thing to use my wired connection on my backtrack 4 laptop as an internet source and forward it to the wireless connection on the backtrack 4 laptop that is connected to actual internet. Quote Link to comment Share on other sites More sharing options...
Netshroud Posted December 25, 2009 Author Share Posted December 25, 2009 Easy workaround: edit the function create_interface in /karma/www/cgi-bin/functions.rb to read: def create_interface() # using ` rather than system as system outputs messages to screen system("wlanconfig ath0 create wlandev wifi0 wlanmode master 2>&1 > /dev/null") [b]system("sleep 1") system("brctl addif br-lan ath0 2>&1 > /dev/null")[/b] #`wlanconfig ath0 create wlandev wifi0 wlanmode master > /dev/null` end (didn't work without the sleep.) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.