Static IP on Wireless connection

Raspberry Pi related support

Static IP on Wireless connection

Postby MikeC » 24 Jul 2019, 22:09

Hi Folks,
I've had a Rune device that I have been using for quite a while that had a static IP on the Wireless connection. The sd card finally corrupted and for the life of me, I can't figure out how to configure a static wireless connection.
It now defaults to AP mode - so I disabled that.
When I try to configure a static (or a dhcp address) it does not get an address.
I have a bunch of other devices running fine on my wireless router and I have not changed the wpa credentials.

Mike C
MikeC
 
Posts: 22
Joined: 30 Nov 2017, 22:39
Location: Everet, MA

Re: Static IP on Wireless connection

Postby R101 » 24 Jul 2019, 23:18

You don't say whether you have done a complete re-install but, if not, have you tried deleting any existing configuration file in /etc/netctl ?

The AP will only appear if the Pi can't connect. If DHCP does not work, Rune is probably trying to use a corrupted configuration file.
(Pi 3B, rAudio-1, JLS I2S over USB)
R101
 
Posts: 343
Joined: 29 Apr 2016, 16:16

Re: Static IP on Wireless connection

Postby MikeC » 25 Jul 2019, 10:27

Thanks R101,

This was from multiple re-images.
The info in /etc/netctl was very helpful. It showed that I was not creating any wlan config, only contained eth0.
I switched to different hardware (from Pi3b to Pi3b+) and I could wlan connect only to 5gh. Also temporarily lost wlan connection on Raspbian install on 3b+.
I restarted the router and could connect to 2.4gh, but eth0 failed on Pi3b.
Currently leaning toward router issue.
Now the issue is that I'd rather deal with and iffy RuneAudio install than deal with Comcast USA.
MikeC
MikeC
 
Posts: 22
Joined: 30 Nov 2017, 22:39
Location: Everet, MA

Re: Static IP on Wireless connection

Postby R101 » 25 Jul 2019, 11:17

I'm no expert, but if DHCP does not work with a wired connection, there must be something very basic wrong. If other devices connect to the router OK, the problem is unlikely to be in the router.

You say the 3B+ connects to 5GHz, which sounds right if 2.4G and 5G have the same SSID. Are you sure there is not a problem with the 3B?

Edit: Just a thought, but you are not assigning the same fixed IP to both wired and wireless connections, are you?
(Pi 3B, rAudio-1, JLS I2S over USB)
R101
 
Posts: 343
Joined: 29 Apr 2016, 16:16

Re: Static IP on Wireless connection

Postby MikeC » 25 Jul 2019, 19:45

MikeC
 
Posts: 22
Joined: 30 Nov 2017, 22:39
Location: Everet, MA

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 6 guests