Norwat Posted April 4, 2010 Share Posted April 4, 2010 hey i have a fon+ 2201 just flashed it the jasager firmware and also tryed a couple others with fon-flash from gargoyle but im never able to connect to it directly, i have to connect the fon+ to router and change the hole ip settings. im using linux, but i also tried with windows 7 .. i cant even get a ping reply. I also installed dnsmasq on my linux box but no success. Not a major problem but its kinda of annoying Any ideas ? Thanks Quote Link to comment Share on other sites More sharing options...
fjux Posted April 4, 2010 Share Posted April 4, 2010 are you useing the computer port on the fon? i had this issue and found out that jasager uses the computer port and not the intertport. so put it in the black one ;) Quote Link to comment Share on other sites More sharing options...
Norwat Posted April 4, 2010 Author Share Posted April 4, 2010 are you useing the computer port on the fon? i had this issue and found out that jasager uses the computer port and not the intertport. so put it in the black one ;) Computer port ? I've tried both LAN an WAN ethernet ports ... the only way to connect directly to it is by connecting a router to the LAN port or installing openwrt or gargoyle firmware configure it to enable wifi and connect via wifi... couldn't find another way ... so far Quote Link to comment Share on other sites More sharing options...
fjux Posted April 5, 2010 Share Posted April 5, 2010 Computer port ? I've tried both LAN an WAN ethernet ports ... the only way to connect directly to it is by connecting a router to the LAN port or installing openwrt or gargoyle firmware configure it to enable wifi and connect via wifi... couldn't find another way ... so far well you know the ipaddress of the fon right? set your NIC connect to the LAN port on the fon to that range like fon = 192.168.1.1 and you are 192.168.1.2 (WARNING JUST A EXAMPLE) you need to make it static netmask is default 255.255.255.0. i dunno what you have changed but with setting it you should be able to ssh into it. Quote Link to comment Share on other sites More sharing options...
Norwat Posted April 5, 2010 Author Share Posted April 5, 2010 well you know the ipaddress of the fon right? set your NIC connect to the LAN port on the fon to that range like fon = 192.168.1.1 and you are 192.168.1.2 (WARNING JUST A EXAMPLE) you need to make it static netmask is default 255.255.255.0. i dunno what you have changed but with setting it you should be able to ssh into it. Tried exactly that ... ifconfig eth0 192.168.1.2 netmask 255.255.255.0 route add default gw 192.168.1.1 I've tried different combinations of that of course .... but i still get nothing Quote Link to comment Share on other sites More sharing options...
digininja Posted April 5, 2010 Share Posted April 5, 2010 Sounds like you've tried it but just in case, set your machine to 192.168.1.2 and then plug it directly into the Fon, don't worry about gateways/routing as you are on the same subnet. Try accessing 192.168.1.1 and see what happens. Quote Link to comment Share on other sites More sharing options...
Norwat Posted April 5, 2010 Author Share Posted April 5, 2010 Sounds like you've tried it but just in case, set your machine to 192.168.1.2 and then plug it directly into the Fon, don't worry about gateways/routing as you are on the same subnet. Try accessing 192.168.1.1 and see what happens. Yup i did :) Still nothing ... i see the arp packets coming in and the fon stays registered on my arp table but i cant connect to it ... even on different computers i get the same ... im only able to post the output in a couple of days i dont have the fon with me at the moment But yeah ... no mather what i can only connect to the fon with a router , yet im able to flash it whenever i want .. Quote Link to comment Share on other sites More sharing options...
digininja Posted April 5, 2010 Share Posted April 5, 2010 Step by step.... You can flash it so the network connection is OK for redboot, therefore you have things plugged in correctly and IP addresses setup OK. It works through the router but not when connected directly to the PC, if you can see the arp requests from the Fon coming in to the PC I assume they are the Fon asking who has 192.168.1.2 and then your machine isn't answering, is that correct? Does your router give out dhcp addresses? There isn't something weird going on where the Fon is getting an IP from the router but when you connect it directly it can't get an IP so goes into the default 169 subnet? Send the output when you get it and we can think more on it. Quote Link to comment Share on other sites More sharing options...
beakmyn Posted April 5, 2010 Share Posted April 5, 2010 I had a similar issue with one of my Fon+ a few weeks ago. I could flash it (using fonflash), access reboot via the serial port. I could get internet through it but I could not access the web page. After flashing several different images I ended up doing a FULL flash/de-brick procedure through the serial interface via redboot manually. Quote Link to comment Share on other sites More sharing options...
Norwat Posted April 6, 2010 Author Share Posted April 6, 2010 Okay ... heres the output (sry for taking so long) Configuring interface [root@bl3t ~]# ifconfig eth0 192.168.1.2 netmask 255.255.255.0 [root@bl3t ~]# ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. From 192.168.1.2 icmp_seq=1 Destination Host Unreachable From 192.168.1.2 icmp_seq=2 Destination Host Unreachable From 192.168.1.2 icmp_seq=3 Destination Host Unreachable My arp table ... 192.168.1.254 is my home router's ip.... leftover ? [root@bl3t ~]# arp Address HWtype HWaddress Flags Mask Iface 192.168.1.254 (incomplete) eth0 192.168.1.1 (incomplete) eth0 For some reason tcpdump didnt catch the arp packets coming from the fon but my arp request where unanswered, anyhow im able to see everything in wireshark, the fon sends a couple of " Address Resolution Protocol (request/gratuitous ARP)" packets before going silent. If needed i can upload the pcap file. [root@bl3t ~]# tcpdump -i eth0 -vvv tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes 18:04:28.166379 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.1.254 tell 192.168.1.2, length 28 18:04:29.166379 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.1.254 tell 192.168.1.2, length 28 Note this is fon+ running jasager firmware.. which works fine , karma and everything, if i connect it to a router. Still no direct connection :x Quote Link to comment Share on other sites More sharing options...
digininja Posted April 7, 2010 Share Posted April 7, 2010 What cable are you using? Just an odd thought, most moden NICs will auto-sense whether a connection should be straight through or cross over, I can never remember which is which but one is to connect switch to switch/router and the other switch/router to PC. If your NIC isn't doing the autodetect then that would probably kill the connection. Quote Link to comment Share on other sites More sharing options...
Norwat Posted April 7, 2010 Author Share Posted April 7, 2010 What cable are you using? Just an odd thought, most moden NICs will auto-sense whether a connection should be straight through or cross over, I can never remember which is which but one is to connect switch to switch/router and the other switch/router to PC. If your NIC isn't doing the autodetect then that would probably kill the connection. Im using the cable that came with the Fon ... but i've tried with other cables same thing. Forget im using Linux ... for a windows user what would be the steps to connect directly to the fon Quote Link to comment Share on other sites More sharing options...
digininja Posted April 7, 2010 Share Posted April 7, 2010 I guess the same, set both on the same IP subnet and go for it Quote Link to comment Share on other sites More sharing options...
jano_prospero Posted April 8, 2010 Share Posted April 8, 2010 I think it is happening the same to me in this topic: http://www.hak5.org/forums/index.php?showtopic=16052 Quote Link to comment Share on other sites More sharing options...
jano_prospero Posted April 11, 2010 Share Posted April 11, 2010 Have a look at this ticket. https://dev.openwrt.org/ticket/3507 Quote Link to comment Share on other sites More sharing options...
Norwat Posted April 11, 2010 Author Share Posted April 11, 2010 (edited) Have a look at this ticket. https://dev.openwrt.org/ticket/3507 Did changing the mac worked for you ? I found out that i can ping the fon when it reboots but it goes silent after 5 pings .... EDIT: After changing the mac over 10times i can now connect to the fon directly :) thanks a lot jano_prospero Edited April 11, 2010 by Norwat 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.