Jump to content

Recommended Posts

Posted

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"]

Posted

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?

Posted

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.

jasager.jpg

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

Posted

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?

Posted

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

Posted

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.

Posted

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.

  • 2 months later...
Posted

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.

Posted

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.

Posted

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

Posted

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 ?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...