Page 1 of 1

Two RB's linked on the same network by mistake

Posted: Thu Jun 21, 2018 6:23 pm
by floripaolo
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....

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

Posted: Fri Jun 22, 2018 11:23 am
by lmarmisa
Take a look at the RPis side too. Type these commands on your RPis:

Code: Select all

iwconfig wlan0
ifconfig wlan0
ip route

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

Posted: Fri Jun 22, 2018 1:29 pm
by floripaolo
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.

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

Posted: Fri Jun 22, 2018 5:54 pm
by Ernst
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.

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

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

Do your RPis work properly?.

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

Posted: Sun Jun 24, 2018 7:12 am
by floripaolo
Problem solved. Restarting the router solved the problem (for now). Sorry bothering you...