Dear Paul,
Thanks for your answer. Unfortunately it is not working for me. I do
know the MAC of the router and also the IP in that interface seems to be
properly configured but there seems to be something wrong with the ARP
process in the router, I sent another question to the reflector with the
details.
I was thinking that if arp is wrong maybe connecting with ipv6 could be
an option? otherwise I am not sure if it is possible to flash a new
firmware only by knowing the MAC. If you think about anything that could
be helpful it will be greatly appreciated.
Best Regards
Daniel
On 04/05/2012 12:20 AM, Paul Hartman wrote:
On Wed, Apr 4, 2012 at 4:54 PM, Dani Camps<[email protected]> wrote
Dear all,
I created a custom init script in my openwrt router following the
instructions from:
http://wiki.openwrt.org/doc/techref/initscripts
Then something went wrong when booting and now I cannot connect to the my
openwrt box. DHCP does not assign me an IP address, but even if I assign the
IP address manually in my device and I connect directly with an Ethernet
cable the openwrt box does not respond (ping does not come back). The
Ethernet link seems to be there, i.e. the light is green, but the router
does not respond, I guess maybe by mistake my custom script executes before
networking is set up and that is why I cannot connect. The thing is that it
looks pretty bad, is there any way that I can access directly to the box ? I
only see a USB port besides the Ethernet ones but I do not know what I can
do with that.
I had something like that when I screwed up my config and the openwrt
box had a random IP address that I didn't know, and wasn't assigning
addresses to clients.
If you know the MAC address of the router's ethernet port that you're
plugged into, and if networking is actually up and running on the
router, you can use arp to assign it a temporary IP on your client and
hopefully connect. Something like this (example copied from google,
untested):
arp –i eth0 –vs 192.168.100.124 00:0E:35:1F:91:F5
where eth0 is the ethernet interface on your client, 192.168.100.124
is the IP you want to assign to your router and the address is the
router's address. Note that most routers have multiple interfaces and
multiple MAC addresses so you may need to try a few of them until you
hit the one that is active. In my case the MAC was printed on the
label and then I had to increment the last digit a few times until I
found one that worked. I was able to get in and change my settings and
my wife was happy that internet was working again. :)
That example is for linux but you can do the same in Windows. Commands
are different but the process is the same. Google should have plenty
of examples.
Otherwise you might have to reflash through sftp or jtag or something
like that. I am not familiar with that particular box so I am no help
in that area.
Good luck!
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users