Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[calaos-os intel] Test sur un serveur v1 -Config réseau
#7
J'ai pu récupérer un clavier PC pour le brancher, ça fonctionne Smile

Les 2 interfaces sont reconnues mais sans IP.
connmanctl config ethernet_000c29f63a80_cable --ipv4 dhcp
configure bien la première, au moins en dynamique.

mais je n'arrive pas à mettre un IP fixe, en testant sur la 2éme interface.
Code:
root@n450:~# connmanctl services
*AO Wired                ethernet_000bab451b08_cable
*A  Wired                ethernet_000bab451b09_cable

Code:
root@n450:~# connmanctl services ethernet_000bab451b09_cable
/net/connman/service/ethernet_000bab451b09_cable
  Type = ethernet
  Security = [  ]
  State = idle
  Favorite = True
  Immutable = False
  AutoConnect = True
  Name = Wired
  Ethernet = [ Method=auto, Interface=enp3s0, Address=00:0B:AB:45:1B:09, MTU=1500 ]
  IPv4 = [  ]
  IPv4.Configuration = [ Method=manual, Address=10.0.0.1, Netmask=255.255.255.0 ]
  IPv6 = [  ]
  IPv6.Configuration = [ Method=auto, Privacy=disabled ]
  Nameservers = [  ]
  Nameservers.Configuration = [  ]
  Timeservers = [  ]
  Timeservers.Configuration = [  ]
  Domains = [  ]
  Domains.Configuration = [  ]
  Proxy = [  ]
  Proxy.Configuration = [  ]
  Provider = [  ]

Code:
root@n450:~# connmanctl services ethernet_000bab451b08_cable
/net/connman/service/ethernet_000bab451b08_cable
  Type = ethernet
  Security = [  ]
  State = online
  Favorite = True
  Immutable = False
  AutoConnect = True
  Name = Wired
  Ethernet = [ Method=auto, Interface=enp0s25, Address=00:0B:AB:45:1B:08, MTU=1500 ]
  IPv4 = [ Method=dhcp, Address=192.168.0.67, Netmask=255.255.255.0, Gateway=192.168.0.254 ]
  IPv4.Configuration = [ Method=dhcp ]
  IPv6 = [  ]
  IPv6.Configuration = [ Method=auto, Privacy=disabled ]
  Nameservers = [ 192.168.0.254 ]
  Nameservers.Configuration = [  ]
  Timeservers = [ 192.168.0.254 ]
  Timeservers.Configuration = [  ]
  Domains = [  ]
  Domains.Configuration = [  ]
  Proxy = [ Method=direct ]
  Proxy.Configuration = [  ]
  Provider = [  ]

J'utilise la ligne:
Code:
connmanctl> config ethernet_000bab451b09_cable --ipv4 manual 10.0.0.1 255.255.255.0 192.168.0.254

Il semble bien lui affecter l'IP/Mask/Gw mais elle est en state=idle

Une idée ?!
Calaos v1.1.20 sur Advantech x86 | Calaos Home écran tactile RS232 | Wago 750-841 | DMX RGB LED
Calaos-OS v2.0 sur Advantech x86 | Clé USB
Squeezebox | Raspberry & Scripts maison
Reply


Messages In This Thread
RE: [calaos-os intel] Configurer une IP fixe ? - by Arnaud - 08-20-2014, 08:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)