Yuna517
Newbie
Offline
Activity: 35
Merit: 0
|
|
May 02, 2017, 02:36:18 AM |
|
i tried running a switch but it did not make a difference.. i tried running it (with PC and controller) from the modem and router both, neither worked/recognized the pi in arp-a or ping, nothing seems to be powering up the led light on the ethernet port of the pi.. i even removed the router completely and plugged just my PC and the controller into the modem ports 1 and 2, the pi still isn't found.. feeling so lost.. any suggestions please..
|
|
|
|
NotFuzzyWarm
Legendary
Offline
Activity: 3808
Merit: 2697
Evil beware: We have waffles!
|
|
May 02, 2017, 02:45:16 AM |
|
Um, to cover all bases, are you sure the power supply for the RiPi works? Does the bus adapter light up? Should be bright green telling it has power.
Have you opened a Ticket with Canaan?
|
|
|
|
Yuna517
Newbie
Offline
Activity: 35
Merit: 0
|
|
May 02, 2017, 03:03:57 AM Last edit: September 19, 2019, 10:57:59 AM by frodocooper |
|
no green light is showing anywhere on the pi.. i can barely see an orange/red light through the creases of the metal casing of the avaloncontroller cover. however, i'm sure it's turning on since i can plug in a monitor and see it running? i'm using an ipad charger adapter, it should fit the specs, 2.5a 5v 12w etc.. i'll have to open a ticket with canaan.. i may just buy a regular pi from microcenter tomorrow and use the flash card from canaan, i feel like the ethernet port light shouldn't take this much...
unless all of this could be solved with enabling DHCP to force a new IP to the Pi? although i'm not sure how doing so would resolve a port which appears to be getting no power..
edit: seems like a corrupt flash memory could prevent the Pi ethernet port from initializing properly? anyone?
|
|
|
|
|
Yuna517
Newbie
Offline
Activity: 35
Merit: 0
|
|
May 02, 2017, 04:43:16 AM Last edit: September 19, 2019, 10:58:41 AM by frodocooper |
|
oh i see, yes it is green at first then a blue light also comes on. i tried reflashing the card already with the same link you provided, the rp3 image, made no difference. it's plugged into an ipad charger - it says on it that the output is 5.2v 2.4a 12w i know this is a no-wifi pi but i tried plugging in a wifi adapter and the small led light on the wifi adapter didn't light up, even though a keyboard in the same USB slot gets power. i noticed when the pi is initializing, before it prompts me to push enter, it says: eth0: hardware isnt capable of remote wakening device eth0 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
i tried moving around directories but quickly got lost in openwrt land.. i was hoping this was more straightforward.. edit: i removed the micro sd card and tried booting it, nothing happened, so i powered it off and put the card back in, now everytime i boot the pi and do arp -a, nothing shows at all, doing ifconfig shows the IP to have changed from 192.168.0.100 to 192.168.1.1! WTF!
|
|
|
|
7queue
|
|
May 02, 2017, 05:29:19 AM Last edit: September 19, 2019, 10:59:03 AM by frodocooper |
|
If you're logged in on the pi, you can modify the file below, change the broadcast ip value to match your network assuming you have dhcp enabled on your router or just update the values in the file. cat /etc/config/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 broadcast '192.168.100.255' option proto 'dhcp'
|
8 )
|
|
|
Yuna517
Newbie
Offline
Activity: 35
Merit: 0
|
|
May 02, 2017, 05:53:39 AM |
|
i'm not too clear on DHCP settings for my router.. RT-AC87U, the guides i've found don't seem to equate.. what am i to match the broadcast IP value to? can you elaborate what the values should be updated to?
|
|
|
|
7queue
|
|
May 02, 2017, 06:22:56 AM |
|
i'm not too clear on DHCP settings for my router.. RT-AC87U, the guides i've found don't seem to equate.. what am i to match the broadcast IP value to? can you elaborate what the values should be updated to?
From looking at the manual I'd change it to 192.168.1.255 if you have the router with default settings. Then reboot the pi and it should grab an ip. http://dlcdnet.asus.com/pub/ASUS/wireless/RT-AC87U/E9689_RT_AC87U_Manual.zip
|
8 )
|
|
|
Yuna517
Newbie
Offline
Activity: 35
Merit: 0
|
|
May 02, 2017, 06:22:57 PM Last edit: September 19, 2019, 10:59:35 AM by frodocooper |
|
i edited the 'network' config file but it made no difference. i'm still stumped here. these are the original values of the network config file.. not sure what all needs changing.. https://ibb.co/fHUEbQi went through this: https://wiki.openwrt.org/toh/raspberry_pi_foundation/raspberry_pi#how_to_connect_via_ethernetit seemed to be relevant but still did not help.. my config file looks different and the changes outlined don't seem to directly apply.. i set the proto as dhcp from static as it said, and also made the IP 192.168.1.199 - it is making no difference, the device is still seen as offline by everything else on the network. i even manually added the MAC ID and IP to the DHCP of the router @ 192.168.1.1 and it identified the MAC ID as a Raspberry Pi but STILL NO connectivity! WTF these are my router DHCP settings: https://ibb.co/hq5Fi5edit: is there a command i can issue in openwrt to force the br-lan to be on? i'm still not sure if it's even on, i tried 'ifconfig eth0 up' and 'ifconfig br-lan up'..
|
|
|
|
NotFuzzyWarm
Legendary
Offline
Activity: 3808
Merit: 2697
Evil beware: We have waffles!
|
|
May 03, 2017, 01:18:31 AM Last edit: September 19, 2019, 10:59:51 AM by frodocooper |
|
Ya know, at this stage I would simply just re-image the sd card with the fiirmware from Canaan's site I linked to. Just start from a clean and known state.
The miners IP WILL be 192.168.0.100 Just directly cable to another computer set to 192.168.0.102 (what I use) and log in. For now leave the password blank and just press enter.
Once in the Avalon go to network, either set to a static IP you can use or set to DHCP. Save and apply. Reconnect cables to router. Wait a min or 2 for the Raspi to reboot. While it is doing that, set you computer back to what you normally use and all should be good. Either use the static IP you assigned or look in your router for the RasPi.
|
|
|
|
Yuna517
Newbie
Offline
Activity: 35
Merit: 0
|
|
May 03, 2017, 01:47:12 AM |
|
i've reimaged it already as you said. i had my laptop connected on wifi and an ethernet cable plugged directly into the pi then i had the ipv4 network connection settings of the laptop forcing the static ip of the laptop to be 192.168.0.101 even after doing this i could not ping or browse the IP of the raspberry from the laptop.. i made this post on openwrt forum.. https://forum.openwrt.org/viewtopic.php?id=70801
|
|
|
|
7queue
|
|
May 03, 2017, 02:39:31 AM |
|
i've reimaged it already as you said. i had my laptop connected on wifi and an ethernet cable plugged directly into the pi then i had the ipv4 network connection settings of the laptop forcing the static ip of the laptop to be 192.168.0.101 even after doing this i could not ping or browse the IP of the raspberry from the laptop.. i made this post on openwrt forum.. https://forum.openwrt.org/viewtopic.php?id=70801If you are on wifi the route will be to that and not the pi. change the 192.168.0 portion of the entries in /etc/config/network to 192.168.1 make a backup copy of the network file # cp /etc/config/network ~/network-original
replace the ip value # sed 's/192.168.0./192.168.1./' ~/network-original > /etc/config/network
double check the replacement worked # cat /etc/config/network
restart the network # /etc/init.d/network restart
if sed doesn't work use vi - clunky editor, an i toggles into insert mode where you can change text, when done hit ESC then :wq to write and quit. I built my own distro for x86 and don't use a pi, by using Canaan's github repo's, so I'm going from memory here.
|
8 )
|
|
|
Yuna517
Newbie
Offline
Activity: 35
Merit: 0
|
|
May 03, 2017, 04:28:58 AM |
|
fixed it!
i went to etc/config/network and found a commented line of code saying delete the below line to enable wifi did that and then rebooted the pi, found openwrt as an open network, joined it, changed my ipv4 settings to be on it (192.168.0.101) and then was finally able to hit the 192.168.0.100 in browser! thanks everyone!!!
|
|
|
|
Yazeed777
Newbie
Offline
Activity: 6
Merit: 0
|
|
November 11, 2017, 02:15:01 AM |
|
I have avalone 721 and respbarry pi 1 but when I try to open 192.168.0.100 the page cant reach I change the dns and protocol then I los my pc connection any help please?
|
|
|
|
Steamtyme
Legendary
Offline
Activity: 1554
Merit: 2037
|
|
November 13, 2017, 07:47:10 PM Last edit: September 19, 2019, 11:01:06 AM by frodocooper |
|
When I set up my new Rasp PI I wasn't able to change my laptop address successfully, but I found a work around.
If you have a d-link router sitting around, you can plug that in (power and ethernet) this creates a sub network, if you use the d-link router for your laptop and the Rasp pi you will be able to log into it and change the settings to DCHP. It works because the D-link I found uses 192.168.0.
|
░░░░░▄▄██████▄▄ ░░▄████▀▀▀▀▀▀████▄ ░███▀░░░░░░░░░░▀█▀█ ███░░░▄██████▄▄░░░██ ░░░░░█████████░░░░██▌ ░░░░█████████████████ ░░░░█████████████████ ░░░░░████████████████ ███▄░░▀██████▀░░░███ █▀█▄▄░░░░░░░░░░▄███ ░░▀████▄▄▄▄▄▄████▀ ░░░░░▀▀██████▀▀
| Ripmixer ░░░░░▄▄██████▄▄ ░░▄████▀▀▀▀▀▀████▄ ░███▀░░░░░░░░░░▀█▀█ ███░░░▄██████▄▄░░░██ ░░░░░█████████░░░░██▌ ░░░░█████████████████ ░░░░█████████████████ ░░░░░████████████████ ███▄░░▀██████▀░░░███ █▀█▄▄░░░░░░░░░░▄███ ░░▀████▄▄▄▄▄▄████▀ ░░░░░▀▀██████▀▀
|
|
|
|
Gabcraftia
Newbie
Offline
Activity: 1
Merit: 0
|
|
September 18, 2019, 02:45:11 PM |
|
Hi, i have a avalonminer 721 but i would like to underclock it for sound and power usage. but idk how could someone help me with this? because i can't find anything on the internet.
thanks in advance. Gabcraftia
|
|
|
|
|