SWFu Posted June 17, 2009 Posted June 17, 2009 I'm getting errors when clients try and connect, they don't get an IP assigned and the connection drops Jan 1 00:22:51 OpenWrt user.warn kernel: KARMA: Node [00:23:7a:44:b4:6c] associating to ssid ["dlink"] Quote
digininja Posted June 17, 2009 Posted June 17, 2009 That isn't an error, that is how it works. It says that a client with the given MAC address has associated with the AP using ESSID dlink. Do you have a dhcp server running? Quote
SWFu Posted June 17, 2009 Author Posted June 17, 2009 Duh, I'll double check, sorry. I just saw 'user.warn' and guessed something was wrong. It also shows in the Date coloum of the client table. I've also just spent an hour realising that the rb scripts for the option menu need the right permissions! I've never touched Ruby before but have edited create_option_list.rb to show which scripts have been used. EDIT I've: config dhcp lan option interface lan option start 100 option limit 150 option leasetime 12h Quote
digininja Posted June 17, 2009 Posted June 17, 2009 I know about the warning in the table bug, I've got it fixed in my current dev version. The last bit you posted is a config file for dhcp but is the dhcp server running? Quote
SWFu Posted June 17, 2009 Author Posted June 17, 2009 Seems not and I can't understand why?! Feb 6 02:07:47 OpenWrt user.info : dnsmasq: bad command line options: try --help Feb 6 02:07:47 OpenWrt daemon.crit dnsmasq[794]: bad command line options: try --help Feb 6 02:07:47 OpenWrt daemon.crit dnsmasq[794]: FAILED to start up Feb 6 02:16:19 OpenWrt user.warn kernel: KARMA: Node [00:23:7a:44:b4:6c] associating to ssid ["The Cross Inn"] Feb 6 02:16:19 OpenWrt daemon.info hostapd: ath0: STA 00:23:7a:44:b4:6c IEEE 802.11: associated Feb 6 02:16:22 OpenWrt daemon.info hostapd: ath0: STA 00:23:7a:44:b4:6c IEEE 802.11: deauthenticated due to local deauth request Feb 6 02:16:22 OpenWrt daemon.info hostapd: ath0: STA 00:23:7a:44:b4:6c IEEE 802.11: disassociated Quote
SWFu Posted June 18, 2009 Author Posted June 18, 2009 I've jus reflashed my fon with the the current Jasager firmware and out of the box DHCP server is running and working on eth0 (shouldn't this be a DHCP client?) but not on wireless. Jasager shows that machines are connected and windows (Vista and 7, I'm just installing a XP VM now) reports local only connection but they have no IP setup?! I'll test what happends if I take Karma down and setup a normal access point. EDIT A normal access point works fine and sets IP address. Quote
digininja Posted June 20, 2009 Posted June 20, 2009 There is no difference between having karma on or off for dhcp, if it works with it off it will work with it on. Do a ps and check for dhcpd running. Depending on how you do things you could either have eth0 as a dhcp client and ath0 running a dhcp server or you could bridge the two and then run the dhcp server on the bridged IP. Quote
SWFu Posted June 21, 2009 Author Posted June 21, 2009 Cheers, I'll give it another look tomorrow. Quote
SWFu Posted June 26, 2009 Author Posted June 26, 2009 Right, found a couple of hours today and I now have a couple of fons working. Quote
Nightcraw1er Posted September 11, 2009 Posted September 11, 2009 Need Help with Connected Clients Nightcraw1er-PC Jan 01 00:26:05: Port Scanner The IP address doesn't look like an IP address, aborting I think i have an DNS problem Quote
digininja Posted September 11, 2009 Posted September 11, 2009 What version of Jasager are you using? There was a bug in older versions where it didn't get the IP address correctly so when the portscanner validated the IP address it failed. Quote
digininja Posted September 12, 2009 Posted September 12, 2009 Try 2.1, I think that should fix it Quote
Nightcraw1er Posted September 12, 2009 Posted September 12, 2009 i need help to install 2.1 I went to http://www.digininja.org/jasager/download.php & downloaded the Jasager package 2.1. what do i do after that? Quote
digininja Posted September 13, 2009 Posted September 13, 2009 copy it to /tmp on the fon , ssh over to the fon then run opkg install /tmp/<filename>.ipk Quote
Nightcraw1er Posted September 14, 2009 Posted September 14, 2009 When i tried to ssh i got an error : Network error: Connection timed out what ip do i use & what port ? Quote
digininja Posted September 14, 2009 Posted September 14, 2009 Whatever IP your fon is on and normal ssh port 22. If you went for a static IP then that IP, if you went for dhcp then run nmap -sP 192.168.0.0/24 as root replacing the IP with your subnet. Look for a MAC address that is from Fon. Or just check your dhcp logs. Quote
Nightcraw1er Posted September 14, 2009 Posted September 14, 2009 C:\Nmap>nmap -sP 192.168.0.0/24 Starting Nmap 4.85BETA10 ( http://nmap.org ) at 2009-09-14 17:25 Central Dayligh t Time WARNING: Unable to find appropriate interface for system route to 192.168.0.250 Nmap done: 256 IP addresses (0 hosts up) scanned in 207.21 seconds C:\Nmap>ipconfig /all Windows IP Configuration Host Name . . . . . . . . . . . . : Nightcraw1er-PC Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : lan Wireless LAN adapter Wireless Network Connection: Connection-specific DNS Suffix . : lan Description . . . . . . . . . . . : Atheros AR5007 802.11b/g WiFi Adapter Physical Address. . . . . . . . . : 00-1F-E1-4F-AD-D4 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::c1f2:bc5a:2324:e100%11(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.1.246(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : Monday, September 14, 2009 5:25:21 PM Lease Expires . . . . . . . . . . : Tuesday, September 15, 2009 5:25:21 AM Default Gateway . . . . . . . . . : 192.168.1.1 DHCP Server . . . . . . . . . . . : 192.168.1.1 DHCPv6 IAID . . . . . . . . . . . : 352329697 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-0F-CD-95-4C-00-1E-68-75-EC-98 DNS Servers . . . . . . . . . . . : 192.168.1.1 NetBIOS over Tcpip. . . . . . . . : Enabled Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : NVIDIA nForce Networking Controller Physical Address. . . . . . . . . : 00-1E-68-75-EC-98 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::b805:5669:7706:34ef%10(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.0.250 DHCPv6 IAID . . . . . . . . . . . : 268443240 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-0F-CD-95-4C-00-1E-68-75-EC-98 DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%2 fec0:0:0:ffff::2%2 fec0:0:0:ffff::3%2 NetBIOS over Tcpip. . . . . . . . : Enabled I run putty at 192.168.0.250 on port 22 and i have an error--- Network error:Connection timed out Quote
digininja Posted September 15, 2009 Posted September 15, 2009 Your IP address is 192.168.1.246 so your subnet is 192.168.1.0/24, try scanning that instead of .0.0 Quote
Nightcraw1er Posted September 16, 2009 Posted September 16, 2009 C:\Nmap>nmap -sP 192.168.1.0/24 Starting Nmap 4.85BETA10 ( http://nmap.org ) at 2009-09-16 10:01 Central Dayligh t Time Host 192.168.1.1 is up (0.015s latency). MAC Address: (FON) Host 192.168.1.2 is up. Nmap done: 256 IP addresses (2 hosts up) scanned in 6.91 seconds C:\Nmap> I run putty at 192.168.1.1 on port 22 and i was able to get openwrt, is this where i copy the .ipk flie ? Quote
digininja Posted September 21, 2009 Posted September 21, 2009 Ye, your Fon is on 192.168.1.1 so that is where you need to ssh/scp to. 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.