floripaolo
Posts: 30
Joined: Thu Jun 14, 2018 10:16 am

Two RB's linked on the same network by mistake

Thu Jun 21, 2018 6:23 pm

Hello everyone!
I have two RbPi's running on the same wifi network. When I open my network manager on my router I see that the first device has no IP assigned and the second device is supposed to be connected to the first one (and sometimes, not always it shows the first one's IP address). Furthermore on the second device i get a hyperlink that leads to the standard Apache2 page. I uninstalled Apache2 but nothing changed. I have no idea what happened and how to clean up this mess....
Attachments
Screen Shot 2018-06-21 at 20.04.00.png
Screen Shot 2018-06-21 at 20.04.00.png (24.27 KiB) Viewed 577 times
Screen Shot 2018-06-21 at 20.03.16.png
Screen Shot 2018-06-21 at 20.03.16.png (46.08 KiB) Viewed 577 times
Screen Shot 2018-06-21 at 20.02.27.png
Screen Shot 2018-06-21 at 20.02.27.png (29.61 KiB) Viewed 577 times

User avatar
lmarmisa
Posts: 1265
Joined: Thu Feb 14, 2013 2:22 am
Location: Jávea, Spain

Re: Two RB's linked on the same network by mistake

Fri Jun 22, 2018 11:23 am

Take a look at the RPis side too. Type these commands on your RPis:

Code: Select all

iwconfig wlan0
ifconfig wlan0
ip route

floripaolo
Posts: 30
Joined: Thu Jun 14, 2018 10:16 am

Re: Two RB's linked on the same network by mistake

Fri Jun 22, 2018 1:29 pm

The first one:

Code: Select all

pi@raspberrypi:~ $ iwconfig wlan0
wlan0     IEEE 802.11  ESSID:"Topazio"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: xxxxxxxxxxxxxxxx  
          Bit Rate=13 Mb/s   Tx-Power=31 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=33/70  Signal level=-77 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:63  Invalid misc:0   Missed beacon:0

pi@raspberrypi:~ $ ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.178.100  netmask 255.255.255.0  broadcast 192.168.178.255
        inet6 fe80::xxxxxxxxxxxxxxxx  prefixlen 64  scopeid 0x20<link>
        ether b8:27:exxxxxxxxxx  txqueuelen 1000  (Ethernet)
        RX packets 9005  bytes 1105484 (1.0 MiB)
        RX errors 0  dropped 436  overruns 0  frame 0
        TX packets 18658  bytes 1780154 (1.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

pi@raspberrypi:~ $ ip route
default via 192.168.178.1 dev wlan0 src 192.168.178.100 metric 302 
192.168.178.0/24 dev wlan0 proto kernel scope link src 192.168.178.100 metric 302 
and the second one:

Code: Select all

pi@raspberrypi2:~ $ iwconfig wlan0
wlan0     IEEE 802.11  ESSID:"Topazio"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 24:65xxxxxxxxxx   
          Bit Rate=5.5 Mb/s   Tx-Power=31 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=56/70  Signal level=-54 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:21  Invalid misc:0   Missed beacon:0

pi@raspberrypi2:~ $ ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.178.36  netmask 255.255.255.0  broadcast 192.168.178.255
        inet6 fe80::e2xxxxxxxxxxxxxx  prefixlen 64  scopeid 0x20<link>
        ether b8:2xxxxxxxxxxxx  txqueuelen 1000  (Ethernet)
        RX packets 167  bytes 20673 (20.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 154  bytes 23730 (23.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

pi@raspberrypi2:~ $ ip route
default via 192.168.178.1 dev wlan0 src 192.168.178.36 metric 302 
192.168.178.0/24 dev wlan0 proto kernel scope link src 192.168.178.36 metric 302
I can't see anything unusual.

Ernst
Posts: 1334
Joined: Sat Feb 04, 2017 9:39 am
Location: Germany

Re: Two RB's linked on the same network by mistake

Fri Jun 22, 2018 5:54 pm

FYI my brain stopped working when I noticed that you have masked the mac addresses.
If you need help then provide complete information, do not remove information that is needed to analyze the problem. The only items you can mask are usernames, passwords, email addresses, domain names and public IP addresses.

To save some time on solving your problem I recommend you reboot your router.
The road to insanity is paved with static ip addresses

User avatar
lmarmisa
Posts: 1265
Joined: Thu Feb 14, 2013 2:22 am
Location: Jávea, Spain

Re: Two RB's linked on the same network by mistake

Fri Jun 22, 2018 6:15 pm

floripaolo wrote:
Fri Jun 22, 2018 1:29 pm
I can't see anything unusual.
I agree.

Do your RPis work properly?.

floripaolo
Posts: 30
Joined: Thu Jun 14, 2018 10:16 am

Re: Two RB's linked on the same network by mistake

Sun Jun 24, 2018 7:12 am

Problem solved. Restarting the router solved the problem (for now). Sorry bothering you...

Return to “Beginners”