Joggers getting same IP address

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
joggy
Posts: 13
Joined: Tue Jan 01, 2019 11:07 pm

Joggers getting same IP address

Post by joggy »

Hi,

I am trying to run 2 jogglers with the birdslikewires Ubuntu Bionic (Kernel 3.16) for OpenFrame image but they keep getting the same IP4 address via DHCP. I checked and they have a different MAC address and I even changed the hostname in /etc/hostname but they still get the same IP. Anyone knows how this should be fixed? thx!

Code: Select all

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.64  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fd95:c79b:3c7d::99f  prefixlen 128  scopeid 0x0<global>
        inet6 fe80::a0:86ff:fe2d:b48e  prefixlen 64  scopeid 0x20<link>
        inet6 fd95:c79b:3c7d:0:a0:86ff:fe2d:b48e  prefixlen 64  scopeid 0x0<global>
        ether 02:a0:86:2d:b4:8e  txqueuelen 1000  (Ethernet)
        RX packets 167  bytes 25687 (25.6 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 129  bytes 17549 (17.5 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.64  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fd95:c79b:3c7d::99f  prefixlen 128  scopeid 0x0<global>
        inet6 fe80::e:8eff:fe25:a73  prefixlen 64  scopeid 0x20<link>
        inet6 fd95:c79b:3c7d:0:e:8eff:fe25:a73  prefixlen 64  scopeid 0x0<global>
        ether 02:0e:8e:25:0a:73  txqueuelen 1000  (Ethernet)
        RX packets 256  bytes 97827 (97.8 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 216  bytes 30867 (30.8 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
User avatar
pete
Posts: 2875
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Joggers getting same IP address

Post by pete »

You can put a mac address / firmware on the Realtek NIC on the Joggler if you want.

1 - you basically write an image to any USB stick to do this.
2 - replace the EFI bios with a Seabios
3 - write the mac address to the Realtek chip via command line once you boot in to DOS
4 - reboot and hit the F12 key and reload the Joggler EFI bios
5 - you should be good to go then.

Writing a MAC address to a Joggler NIC

viewtopic.php?f=4&t=2301&start=20
- Pete

Auto mater
joggy
Posts: 13
Joined: Tue Jan 01, 2019 11:07 pm

Re: Joggers getting same IP address

Post by joggy »

I changed the MAC via bios as you described, I changed the MAC in /boot/network.yaml and I changed the hostname via hostnamectl but they still get the same IP address??!??
User avatar
pete
Posts: 2875
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Joggers getting same IP address

Post by pete »

Guessing you made each MAC address unique to each Joggler?



Install ethtool

sudo apt install ethtool

sudo ip link show

Each joggler should have a unique MAC address.

Then do:

sudo ethtool mac_address

This will show the hardware nic specs.

Both Jogglers hardware mac addresses should be unique.

Try this also:

lshw -class network

This will show the MAC address after serial:

The two jogglers should have unique mac addresses.

do a copy and print of what you see and post it here please.
- Pete

Auto mater
User avatar
pete
Posts: 2875
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Joggers getting same IP address

Post by pete »

Apologies I did not read your previous post.

I am assuming that you assigned a unique mac address to each Joggler eh?
- Pete

Auto mater
Post Reply