Questions tagged [static-ip]

Unchanging address permanently assigned to a device in an IP network.

265 questions
4
votes
3 answers

how is my IP being set?

I did a bunch of work with my raspberry pi about a year ago. I got busy with other projects, but have started to work with the pi again. I somehow set my IP address to 192.168.1.123, but I don't see how this is happening. I check the configuration…
hairyberry
  • 41
  • 2
3
votes
3 answers

Can I have same static IP for wlan0 AND eth0?

in etc/network/interfaces: iface eth0 inet static address 192.168.1.248 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 allow-hotplug wlan0 auto wlan0 iface wlan0 inet static address 192.168.1.248 …
tarabyte
  • 665
  • 3
  • 7
  • 13
2
votes
0 answers

different static ip for different wifi network

I am just new to the pi and I like to play with it when I am home. Now I would also like it if I would be able to play with it when I am on the go. I figured out that it is possible to connect the pi to my phone network and then I am able to use…
2
votes
0 answers

IP address starts with 169

My Raspberry Pi 3 with is running Raspbian GNU/Linux 9.8 (stretch) has the wlan0: inet that starts with a 169 in the IP address. I know that this an IP address that is given when the DHCP cannot give me a different IP address. I am connected to the…
Isaac
  • 21
  • 1
2
votes
2 answers

Raspberry pi setting up static IP - address changes but no internet

i have used "sudo nano /etc/dhcpcd.conf" and added static address, after reboot the raspberry pi shows static address in ifconfig and i can also access it using putty, but it is not able to connect to the internet. i have checked the router and this…
Owaiz Sahreef
  • 41
  • 1
  • 5
2
votes
1 answer

Raspberry pi's local IP keeps changing. What are the solutions?

It keeps changing beetween 10.0.0.1, 10.0.0.2, 10.0.0.3 etc. Is there a way to solve this without giving raspberry pi a static address? Because I ssh to the raspberry pi, or visit it on my browser, and it's slightly annoying to keep finding and…
Tomas
  • 21
  • 2
1
vote
2 answers

Is it possible to set a static IP for each WiFi connection?

Say wifi1 is on 192.168.1.1 and wifi2 is on 10.11.11.1, I think I need a separate static IP for each network e.g. 192.168.1.233 won’t work on wifi2. Is there a way the raspberry pi can automatically switches between IP’s based on which WiFi it's…
IAUSHYJ
  • 13
  • 2
1
vote
1 answer

I have applied both static and DHCP simultaneously and I cannot access my RPi now. What do I do to fix it?

I am new to the RPi. I have a line in the interface file, iface eth0 inet static. Below that I have added, iface eth0 inet dhcp. Due to that, I'm unable to access my RPi. I have used my Pi ip as 192.168.2.80.
shalini
  • 21
  • 1
1
vote
2 answers

Ideal etc/network/interfaces file for static IP ethernet AND wireless

I have a Raspberry Pi 2 rocking Wheezy. It generally has both a dedicated Ethernet cable plugged in that I have set to a static IP. And a wifi dongle (Alfa AWUS036H) that I also like to use with a static IP. What should my interfaces file look like?…
totalconfusion
  • 29
  • 1
  • 1
  • 6
1
vote
3 answers

Set IP of Raspberry PI device automatically

I need to set the ip address of the device automatically to a few default values so that it could be accessed over a connected network easily. The device is meant to be used in any LAN it is connected to. For example if the device is connected in a…
1
vote
2 answers

How do I set a static address in a Pi, to an IP provided by my ISP?

I have two static IPs from my ISP. I want to hang a Pi4 on one of them, and connect it through a switch to one of the IPs provided. To be clear, suppose one of my IPs is 123.45.67.89 I want to plug my Pi into an unmanaged switch, and set it up to…
lar3ry
  • 21
  • 2
0
votes
0 answers

wifi to etho port

I have trawled the internet for 3 months and failed. Maybe I am dim. My target is to share my wifi internet to the Ethernet port. Cant find a solution that works. So splitting my questions up. I want my Pi3 to allocate an IP address to my laptop via…
Ian H
  • 1
0
votes
2 answers

gzip: stdin: not in gzip format when installing No-IP DUC

I am trying to install No-IP on my Pi 3B through Putty. I do the following commands: cd /usr/local/src wget http://no-ip.com/client/linux/noip-duc-linux.tar.gz tar xzf noip-duc-linux.tar.gz.1 But I get the error gzip: stdin: not in gzip format tar:…
ShoeLace1291
  • 109
  • 1
0
votes
1 answer

static IP and using wireless connection to internet

I intend to setup static IP for my raspberry using jessie ver 8. I intend have a static IP to remote my computer to Rpi using VNC through a Ethernet cable so I can see my Rpi screen for this simple purpose, and the other plan is another static IP to…
sunny
  • 1
  • 4
0
votes
1 answer

RPI3: static IP address usable when moving - not sure if possible

I'd like my RPI to have a static ip address since I'll need to move it between locations (including other countries). So ideally, whenever it connects to a network, either through LAN or WiFi, it will always have the same IP. I'm not sure if it is…
1
2