AllskyTeam / allsky

A Raspberry Pi operated Wireless Allsky Camera
MIT License
1.15k stars 180 forks source link

Wired connection instead of wireless #173

Closed maserowik closed 4 years ago

maserowik commented 4 years ago

Greetings. I am using a POE for my raspberry pi. Is there a way to have AllSky use the Ethernet instead of the Wireless connection?

Thanks Mike

dwormuth commented 4 years ago

Works by default as long as you enable wired ethernet in the operating system. That's how my system operates.

On Mon, Apr 20, 2020 at 11:37 AM maserowik notifications@github.com wrote:

Greetings. I am using a POE for my raspberry pi. Is there a way to have AllSky use the Ethernet instead of the Wireless connection?

Thanks Mike

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thomasjacquin/allsky/issues/173, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAUO3YB5WAEMKXEAVONCADRNRT4BANCNFSM4MMRMLYA .

maserowik commented 4 years ago

image

not following this. I have a valid ip address and 192.168.1.25 but it not showing in the screen shot below in the config

dwormuth commented 4 years ago

Troubleshoot tips: https://www.instructables.com/id/Configuring-the-Raspberry-Pi-ethernet-port-for-rem/

https://www.mathworks.com/help/supportpkg/raspberrypi/ug/getting-the-raspberry_pi-ip-address.html

https://raspberrypi.stackexchange.com/questions/37920/how-do-i-set-up-networking-wifi-static-ip-address

These sites should get you up and running. It's a Raspberry Pi issue, not Allsky

On Mon, Apr 20, 2020 at 11:49 AM maserowik notifications@github.com wrote:

[image: image] https://user-images.githubusercontent.com/25713782/79771465-cf544f80-82fc-11ea-9024-9bf79253bb8e.png

not following this. I have a valid ip address and 192.168.1.25 but it not showing in the screen shot below in the config

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/thomasjacquin/allsky/issues/173#issuecomment-616640188, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAUO3YKE42AB2PBWXQLWWLRNRVHDANCNFSM4MMRMLYA .

AstroSmoke commented 4 years ago

Sorry I am not convinced, I have the same behavior where the ip does not show in the interface and says that is down. Yet the ifconfig command on the pi displays ip information.

Maybe allsky is calling the ifconfig too early prior to the ip address being assigned by the network.

Using a Pi4B 4GB, fresh load of firmware, raspbian and allsky three days ago. I'm just testing on Ethernet in my office with camera pointing the window. With no ethernet connections problems except connection status saying the same as maserowik above.

thomasjacquin commented 4 years ago

allsky is just listing the wlan0 interface which is the wifi interface. If you're using ethernet, it is normal that it reports that wlan0 is down.

maserowik commented 4 years ago

Any way to add the ethernet also?

From: Thomas Jacquin notifications@github.com Sent: Saturday, April 25, 2020 1:12 AM To: thomasjacquin/allsky allsky@noreply.github.com Cc: maserowik maserowik@verizon.net; Author author@noreply.github.com Subject: Re: [thomasjacquin/allsky] Wired connection instead of wireless (#173)

allsky is just listing the wlan0 interface which is the wifi interface. If you're using ethernet, it is normal that it reports that wlan0 is down.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thomasjacquin/allsky/issues/173#issuecomment-619322623 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGEFY5WDZEQG4LGA5HLO4OLROJWKPANCNFSM4MMRMLYA . https://github.com/notifications/beacon/AGEFY5RY4OSOVJG3N5V4QZLROJWKPA5CNFSM4MMRMLYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOETVBZ7Y.gif

-- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

pterodyne commented 4 years ago

+1 on this request. I use POE and Ethernet in my allsky. Doesn't really matter but it would be nice if it used whatever interface was live.

maserowik commented 4 years ago

closing

pterodyne commented 4 years ago

This still seems like a valid request. Why only list the wifi? Many of us use ethernet. IMHO it should also list a valid ethernet status if it is being used. Also it claims to use "information provided by ifconfig and iwconfig". If I do an ifconfig, I can see my eth0 interface details. Just my .02$. Now Ill get back in my lane as a consumer of free software that I lack the skill to contribute to. (Other than asking for stuff). :)