WinstonSmith Posted July 5, 2010 Posted July 5, 2010 I've followed all of the directions noted here http://www.hak5.org/forums/index.php?showtopic=15269. Up the the point of getting the fonera to connect to the internet. echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward sudo iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE wlan0 because that is the device that is actually accessing my internet connection. Im using a old eepc 900a running ubuntu. Does anyone have any insight on this? I would love help. cheers, Quote
Mr-Protocol Posted July 5, 2010 Posted July 5, 2010 (edited) echo 1 > /proc/sys/net/ipv4/ip_forward sudo iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE Thats the command I use in BT4. I have the Fon/Jasager connected to my laptop ethernet port w/ crossover cable. I also modified the Fon to use my laptop's static IP on the LAN card as the gateway. Doublecheck these settings: Edit /etc/config/dhcp list 'dhcp_option' '3,192.168.169.16' **Sets Gateway to Laptop LAN card list 'dhcp_option' '6,8.8.8.8' **Sets DNS to GoogleDNS Edit /karma/www/cgi-bin/functions.rb under "def create_interface()" add the following: system("sleep 1") system("brctl addif br-lan ath0 2>&1 > /dev/null") Login webif, Network tab, DHCP subtab, Disable Bogus Private Reverse Lookups, Disable filterwin2k, Disable Localise Queries ---Save settings and apply Login Webif, Network Tab, Networks subtab, Set IP address 192.168.169.169 with netmask 255.255.255.0 ---Save settings and apply Edited July 5, 2010 by Mr-Protocol Quote
WinstonSmith Posted July 7, 2010 Author Posted July 7, 2010 Since I was just testing it out in ubuntu with plans to use it in bt4. I think I'm going to build an sd card with persistent changes for bt4. Thank you so much for the help. Cheers, Quote
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.