This is related to a previous question
I believe I should be using connman in order to set up a static IP over ethernet according to this wiki
$connmanctl services # Take note of the interface you want to modify, the general format for a wired connection is
$connmanctl <service> --ipv4 manual <ip address> <netmask> <gateway>
But so far no luck. Are the '<>' brackets required around the actual service name? I tried both ways... Ditto for the ip,netmask and gateway.
brackets must not be put
In my case - with a USB eth dongle:
# connmanctl services
*AO Wired ethernet_0010600a8c9f_cable
i.e. I'd have to enter something like
connmanctl ethernet_0010600a8c9f_cable --ipv4 manual 192.168.0.42 255.255.255.0 192.168.0.1
does this work? If not, can you pls put what you enter and the output of connman?
I would like to the same thing, could you please share the commands you used to setup you static ethernet connection?
systemctl start connman
connmanctl disable wifi
6: enp0s17u1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 9c:eb:e8:0f:52:b3 brd ff:ff:ff:ff:ff:ff
connmanctl config ethernet_9cebe80f52b3_cable --ipv4 manual 192.168.0.199 255.255.255.0 192.168.0.1
Error ethernet_9cebe80f52b3_cable: Method "SetProperty" with signature "sv" on interface "net.connman.Service" doesn't exist
Maybe I made an error in the conmmanctl config. Could you please help me?
I have set a static ip to my Galileo but the problem is it cannot access to internet connection. It gives error while pinging google :
ping www.google.com --> "www.google.com" was bad address....
The problem is changing DCHP to static. So that I think it cannot find google address. I tried to set nameserver as 192.168.1.1 but it did not work for me. Do you have an idea how to correct configuration to access internet again.
Hi, it is not pinging the google addres (188.8.131.52) There is something wrong. My galileo static IP is 192.168.137.241, mask: 255.255.255.0, gateway =192.168.1.1 and the modem local ip = 192.168.1.1,. DHCP controlling range is between 192.168.1.33 and 192.168.1.65. How can make this working. It cannot acces internet connection.
I used this command:
connmanctl config ethernet_#hwaddress#_cable --ipv4 manual 192.168.137.241 255.255.255.0 192.168.1.1