Hi,
I'm using an open-mesh router and flashed it according "Building or Unbricking guide" on the hak5 home page. I verified access to webif and Karma site with no problems.
For now I'm not interested in the Karma bit and deauthing clients and having them connect to my AP instead of the real one. I'm trying to use the Jasager as an AP instead of using Aireplay to create an AP. I’ve read the forums about the automatic scripts that enables everything for me, but really I’m trying to do things myself one step at a time to understand the process, then maybe I will use the scripts later when I know how everything works.
I used the guide on karmetasploit to edit the settings on my router to:
DHCP:
config dnsmasq
option domainneeded 1
option boguspriv 1
option filterwin2k '0' #enable for dial on demand
option localise_queries 1
option local 'lan'
option domain 'lan'
option expandhosts 1
option nonegcache 0
option authoritative 1
option readethers 1
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
config dhcp lan
option interface lan
option start 100
option limit 150
option leasetime 12h
option ignore 0
list dhcp_option 3,192.168.0.1
list dhcp_option 6,192.168.0.2,208.67.222.222
list dhcp_option 6,192.168.0.2,8.8.8.8
config dhcp wan
option interface wan
option start 100
option limit 150
option leasetime 12h
option ignore 1
list dhcp_option 3,192.168.0.1
list dhcp_option 6,192.168.0.2,208.67.222.222
list dhcp_option 6,192.168.0.2,8.8.8.8
Network:
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 ifname eth0
option type bridge
option netmask 255.255.255.0
option proto static
option ipaddr 192.168.0.2
option gateway 192.168.0.1
option dns 8.8.8.8
Next in bt5 I connected my wlan0 to my home internet using wicd then I ran
ifconfig eth0 192.168.0.1 netmask 255.255.255.0
and I could log in to the router on 192.168.0.2 before the ip address for eth0 changes to 192.168.10.5 for some reason!
Another thing I noticed is every time I disconnect from my eth0 connection on wicd to try to connect to the wireless, the wireless connects fine for a minute before automatically disconnecting and going back to the eth0 connection like wicd is forcing eth0 to be the primary connection, which causes me to lose connectivity to the internet and also I'm not able to access the webif page because the ip address is on a different range than the set 192.168.0.x
I’ve tried changing those settings in wicd:
Under Preferences & General Settings
Network interfaces
I unchecked always show wired interface
I unchecked always switch to a wired connection when available
Under wired automatic connection
I choose prompt for wired network profile
Under Automatic reconnection
I unchecked automatically reconnect on network connection loss
And still the connection keeps disconnecting the wireless and connecting to the wired & changing the eth0 address to 192.168.10.5 as I verified by running ifconfig.
I’m not sure if this is a linux issue or a setting that I did wrong on the router.
Any ideas what the problem might be?